Grant Permission To Roles
Grants a given permission to a list of roles.
Request
URI
POST
https://{api_host}/api/v2/role/grant/{permission}
COPY
Path Parameters
string
permission
Required
The permission to grant. 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 to which to grant the permission.
Array of string of type(s) application/json
Optional
[
{}
]
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"
}
}