Skip to main content

DevicesApi

MethodHTTP requestDescription
getActiveSyncDevicesUsingPOSTPOST /api/web/v1/users/{userid}/activesyncdevicesGet ActiveSync devices from Office 365.
getCachedActiveSyncDevicesUsingGETGET /api/web/v1/users/{userid}/activesyncdevicesGet ActiveSync devices.
removeActiveSyncDeviceUsingDELETEDELETE /api/web/v1/users/{userid}/activesyncdevices/{deviceid}Remove ActiveSync devices.
updateActiveSyncDevicesUsingPUTPUT /api/web/v1/users/{userid}/activesyncdevicesUpdate ActiveSync devices.

getActiveSyncDevicesUsingPOST

List<SdpResponse> getActiveSyncDevicesUsingPOST(userid)

Get ActiveSync devices from Office 365.

Get ActiveSync devices. Caller requires the ACTIVESYNC:VIEW permission.

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user.

Return type

List<SdpResponse>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getCachedActiveSyncDevicesUsingGET

List<SdpResponse> getCachedActiveSyncDevicesUsingGET(userid)

Get ActiveSync devices.

Get ActiveSync devices. Caller requires the ACTIVESYNC:VIEW permission.

Example

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user.

Return type

List<SdpResponse>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

removeActiveSyncDeviceUsingDELETE

List<SdpResponse> removeActiveSyncDeviceUsingDELETE(userid, deviceid)

Remove ActiveSync devices.

Remove ActiveSync devices. Caller requires the ACTIVESYNC:REMOVE permission.

Example

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user.
deviceidStringId of the device that needs to be removed.

Return type

List<SdpResponse>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

updateActiveSyncDevicesUsingPUT

List<SdpResponse> updateActiveSyncDevicesUsingPUT(userid, sdpParms)

Update ActiveSync devices.

Update ActiveSync devices. Caller requires the ACTIVESYNC:EDIT permission.

Example

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user.
sdpParmsSdpParms

Return type

List<SdpResponse>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-