Revoke Permission From Roles

Revoke Permission From Roles

Revokes a given permission from a list of roles.

Request
URI
POST
https://{api_host}/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.

Possible values are : log_management, dashboard_management, events_management, alerts_management, derived_metrics_management, host_tag_management, agent_management, token_management, ingestion, user_management, embedded_charts, metrics_management, external_links_management, application_management, batch_query_priority, saml_sso_management, monitored_application_service_management,

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": 0
    },
    "response": {
        "sampleLinkedGroups": [
            "UserGroup Object"
        ],
        "linkedGroupsCount": 0,
        "sampleLinkedAccounts": [
            "string"
        ],
        "linkedAccountsCount": 0,
        "restrictedPermissions": [
            "string"
        ],
        "properties": {
            "nameEditable": false,
            "usersRemovable": false,
            "usersAddable": false,
            "permsEditable": false,
            "deletable": false
        },
        "permissions": [
            "string"
        ],
        "name": "string",
        "id": "string",
        "description": "string",
        "createdEpochMillis": 0,
        "lastUpdatedMs": 0,
        "lastUpdatedAccountId": "string",
        "customer": "string"
    }
}
status
Required

status

response
Optional

response