Update ActiveSync devices.
PUT/api/web/v1/users/:userid/activesyncdevices
Update ActiveSync devices. Caller requires the ACTIVESYNC:EDIT permission.
Request
Path Parameters
The UUID of the user.
- application/json
Body
required
Possible values: [ALLOW
, BLOCK
]
Type of action to be performed on active sync devices
List of device IDs to be Allowed/Blocked.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Current access state of the device.
Unique device id.
Device type.
Agent used to configure ActiveSync on the device.
Friendly name of the device.
Unique id
The last time devices were fetched.
[
{
"DeviceAccessState": "Quarantined/Allowed/Blocked",
"DeviceId": "androidc1533863968",
"DeviceType": "Android/iPhone",
"DeviceUserAgent": "Outlook-Android/2.0",
"FriendlyName": "Nexus 9",
"id": "6781549d-433c-44ea-a42f-4701458dg245",
"lastUpdate": "2019-02-19T13:15:27Z"
}
]
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}