Skip to main content

DevicesApi

MethodHTTP requestDescription
get_active_sync_devices_using_postPOST /api/web/v1/users/{userid}/activesyncdevicesGet ActiveSync devices from Office 365.
get_cached_active_sync_devices_using_getGET /api/web/v1/users/{userid}/activesyncdevicesGet ActiveSync devices.
remove_active_sync_device_using_deleteDELETE /api/web/v1/users/{userid}/activesyncdevices/{deviceid}Remove ActiveSync devices.
update_active_sync_devices_using_putPUT /api/web/v1/users/{userid}/activesyncdevicesUpdate ActiveSync devices.

get_active_sync_devices_using_post

List[SdpResponse] get_active_sync_devices_using_post(userid)

Get ActiveSync devices from Office 365.

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

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
useridstrThe 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-

get_cached_active_sync_devices_using_get

List[SdpResponse] get_cached_active_sync_devices_using_get(userid)

Get ActiveSync devices.

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

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
useridstrThe 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-

remove_active_sync_device_using_delete

List[SdpResponse] remove_active_sync_device_using_delete(userid, deviceid)

Remove ActiveSync devices.

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

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
useridstrThe UUID of the user.
deviceidstrId 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-

update_active_sync_devices_using_put

List[SdpResponse] update_active_sync_devices_using_put(userid, sdp_parms)

Update ActiveSync devices.

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

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
useridstrThe UUID of the user.
sdp_parmsSdpParms

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-