Grant or revoke permissions to a user
POST /users/{userId}/working-environments-grant-revoke
Grants or revokes permissions to the specified user for performing operations over the specified systems.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
userId |
string |
path |
True |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
addWorkingEnvironments |
array[string] |
True |
|
removeWorkingEnvironments |
array[string] |
True |
Example request
{
"addWorkingEnvironments": [
"string"
],
"removeWorkingEnvironments": [
"string"
]
}
Error
Status: Default, Default response