Update Entity Security Associations
Update Entity Security Associations
- application/json
Request Body
entityAssociated object
securityAssociations object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
response object[]
{
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string"
}
]
}
POST /security
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Security' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityAssociated": {
"entity": [
{
"entityType": 0,
"_type_": 0,
"entityId": 0,
"clientId": 0,
"clientGroupId": 0,
"credentialId": 0
}
]
},
"securityAssociations": {
"associationsOperationType": "string",
"associations": [
{
"userOrGroup": [
{
"groupId": 0,
"externalGroupName": "string",
"userGroupName": "string",
"userGroupId": 0
}
],
"properties": {
"role": {
"roleId": 0
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Security' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityAssociated": {
"entity": [
{
"entityType": 0,
"_type_": 0,
"entityId": 0,
"clientId": 0,
"clientGroupId": 0,
"credentialId": 0
}
]
},
"securityAssociations": {
"associationsOperationType": "string",
"associations": [
{
"userOrGroup": [
{
"groupId": 0,
"externalGroupName": "string",
"userGroupName": "string",
"userGroupId": 0
}
],
"properties": {
"role": {
"roleId": 0
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Security' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityAssociated": {
"entity": [
{
"entityType": 0,
"_type_": 0,
"entityId": 0,
"clientId": 0,
"clientGroupId": 0,
"credentialId": 0
}
]
},
"securityAssociations": {
"associationsOperationType": "string",
"associations": [
{
"userOrGroup": [
{
"groupId": 0,
"externalGroupName": "string",
"userGroupName": "string",
"userGroupId": 0
}
],
"properties": {
"role": {
"roleId": 0
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Security' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityAssociated": {
"entity": [
{
"entityType": 0,
"_type_": 0,
"entityId": 0,
"clientId": 0,
"clientGroupId": 0,
"credentialId": 0
}
]
},
"securityAssociations": {
"associationsOperationType": "string",
"associations": [
{
"userOrGroup": [
{
"groupId": 0,
"externalGroupName": "string",
"userGroupName": "string",
"userGroupId": 0
}
],
"properties": {
"role": {
"roleId": 0
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Security' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityAssociated": {
"entity": [
{
"entityType": 0,
"_type_": 0,
"entityId": 0,
"clientId": 0,
"clientGroupId": 0,
"credentialId": 0
}
]
},
"securityAssociations": {
"associationsOperationType": "string",
"associations": [
{
"userOrGroup": [
{
"groupId": 0,
"externalGroupName": "string",
"userGroupName": "string",
"userGroupId": 0
}
],
"properties": {
"role": {
"roleId": 0
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Security' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityAssociated": {
"entity": [
{
"entityType": 0,
"_type_": 0,
"entityId": 0,
"clientId": 0,
"clientGroupId": 0,
"credentialId": 0
}
]
},
"securityAssociations": {
"associationsOperationType": "string",
"associations": [
{
"userOrGroup": [
{
"groupId": 0,
"externalGroupName": "string",
"userGroupName": "string",
"userGroupId": 0
}
],
"properties": {
"role": {
"roleId": 0
}
}
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Security' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entityAssociated": {
"entity": [
{
"entityType": 0,
"_type_": 0,
"entityId": 0,
"clientId": 0,
"clientGroupId": 0,
"credentialId": 0
}
]
},
"securityAssociations": {
"associationsOperationType": "string",
"associations": [
{
"userOrGroup": [
{
"groupId": 0,
"externalGroupName": "string",
"userGroupName": "string",
"userGroupId": 0
}
],
"properties": {
"role": {
"roleId": 0
}
}
}
]
}
}'