Office365 User Policy Association
This API is used to set user policy association for Office365.
Header Parameters
- Accept string required
- application/json
Request Body
- LaunchAutoDiscovery boolean
cloudAppAssociation object
Responses
- 200
OK
POST /office365/cloudapps/setuserpolicyassociation
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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
}
}
}'
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
}
}
}'
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
}
}
}'
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
}
}
}'
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
}
}
}'
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
}
}
}'
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
}
}
}'