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 (string userid)

Get ActiveSync devices from Office 365.

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

Using the GetActiveSyncDevicesUsingPOSTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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 (string userid)

Get ActiveSync devices.

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

Example

Using the GetCachedActiveSyncDevicesUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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 (string userid, string deviceid)

Remove ActiveSync devices.

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

Example

Using the RemoveActiveSyncDeviceUsingDELETEWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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 (string userid, SdpParms sdpParms)

Update ActiveSync devices.

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

Example

Using the UpdateActiveSyncDevicesUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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-