Skip to content

Instantly share code, notes, and snippets.

@HawaiiRyan
Created March 2, 2021 13:54
Show Gist options
  • Save HawaiiRyan/601965f2e4bf76ffe0ecab5f3037bf2d to your computer and use it in GitHub Desktop.
Save HawaiiRyan/601965f2e4bf76ffe0ecab5f3037bf2d to your computer and use it in GitHub Desktop.
curl -X POST
--header 'Content-Type: application/json' \
--header 'Accept: application/json;version=2' \
--header 'Authorization: Basic SGF3YWlpNG1l' \
--header 'aw-tenant-code: a/D3ariE08ltuYjgecv2jnW/mi41in3lYUd9vHlK0hk=' \
-d '{ \
"AndroidForWorkWifiList": [ \
{ \
"ServiceSetIdentifier": "devtest", \
"SecurityType": "WPA", \
"Password": "12345678", \
"SetAsActiveNetwork": true, \
"HiddenNetwork": false, \
"EnterprisePassword": "12345678" \
} \
], \
"General": { \
"ProfileId": 86, \
"AfwOemSettingsEnabled": false, \
"AfwOemType": 0, \
"Name": "_Molokai - Wifi Test", \
"Description": "", \
"ProfileScope": "Both", \
"Version": 1, \
"AssignmentType": "Auto", \
"EnableProvisioning": false, \
"IsActive": true, \
"IsManaged": true, \
"Password": "", \
"AllowRemoval": "Never", \
"ExcludedSmartGroups": [], \
"ManagedLocationGroupID": 570, \
"AssignedSchedule": [], \
"ProfileUuid": "e9b3ba21-a06b-4df4-8581-6741dd9e4b0a" \
} \
}' 'https://ws1.ryanpringnitz.com/API/mdm/profiles/platforms/android/create'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment