Skip to main content

Office365 User Policy Association

This API is used to set user policy association for Office365.

Header Parameters
  • Accept string required
Request Body
  • LaunchAutoDiscovery boolean
  • cloudAppAssociation object
  • accountStatus integer
  • subclientEntity object
  • subclientId integer
  • clientId integer
  • applicationId integer
  • cloudAppDiscoverinfo object
  • discoverByType integer
  • groups object[]
  • name string
  • plan object
  • planId integer
Responses

OK

POST /office365/cloudapps/setuserpolicyassociation    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Accept — header required
Body

{
"LaunchAutoDiscovery": true,
"cloudAppAssociation": {
"accountStatus": 0,
"subclientEntity": {
"subclientId": 0,
"clientId": 0,
"applicationId": 0
},
"cloudAppDiscoverinfo": {
"discoverByType": 0,
"groups": [
{
"name": "string"
}
]
},
"plan": {
"planId": 0
}
}
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Office365/CloudApps/SetUserPolicyAssociation' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"LaunchAutoDiscovery": true,
"cloudAppAssociation": {
"accountStatus": 0,
"subclientEntity": {
"subclientId": 0,
"clientId": 0,
"applicationId": 0
},
"cloudAppDiscoverinfo": {
"discoverByType": 0,
"groups": [
{
"name": "string"
}
]
},
"plan": {
"planId": 0
}
}
}'