Revoke Permission From Roles

Revoke Permission From Roles

Revokes a given permission from a list of roles.

Request
URI
POST
https:////api/v2/role/revoke/{permission}
COPY
Path Parameters
string
permission
Required

The permission to revoke. Note that host_tag_management is the equivalent of the Source Tag Management permission, monitored_application_service_management is the equivalent of the Integrations permission, agent_management is the equivalent of the Proxies permission.


Request Body

A list of role IDs from which to revoke the permission.

Array of string of type(s) application/json
Optional
[
    {}
]
Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerRoleDTO of type(s) application/json
{
    "status": {
        "result": "string",
        "message": "string",
        "code": "integer"
    },
    "response": {
        "sampleLinkedGroups": [
            "UserGroup Object"
        ],
        "linkedGroupsCount": "integer",
        "sampleLinkedAccounts": [
            "string"
        ],
        "linkedAccountsCount": "integer",
        "restrictedPermissions": [
            "string"
        ],
        "properties": {
            "nameEditable": "boolean",
            "usersRemovable": "boolean",
            "usersAddable": "boolean",
            "permsEditable": "boolean",
            "deletable": "boolean"
        },
        "permissions": [
            "string"
        ],
        "name": "string",
        "id": "string",
        "description": "string",
        "createdEpochMillis": "integer",
        "lastUpdatedMs": "integer",
        "lastUpdatedAccountId": "string",
        "customer": "string"
    }
}
status
Required

status

response
Optional

response