DevicesApi
Method | HTTP request | Description |
---|---|---|
get_active_sync_devices_using_post | POST /api/web/v1/users/{userid}/activesyncdevices | Get ActiveSync devices from Office 365. |
get_cached_active_sync_devices_using_get | GET /api/web/v1/users/{userid}/activesyncdevices | Get ActiveSync devices. |
remove_active_sync_device_using_delete | DELETE /api/web/v1/users/{userid}/activesyncdevices/{deviceid} | Remove ActiveSync devices. |
update_active_sync_devices_using_put | PUT /api/web/v1/users/{userid}/activesyncdevices | Update 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
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
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
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
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
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user. | |
deviceid | str | Id of the device that needs to be removed. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
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
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user. | |
sdp_parms | SdpParms |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |