Create Role
https://api.eu1.coralogix.com/mgmt/openapi/5/aaa/custom-roles/v1Creates a new custom role.
Authorizations
Request
Body
Request for creating a custom role. A parent role is required, by id or by name: the service answers 400 without one.
- oneOf
- Option 1
- Option 2
Human-readable description. Omitting it is the same as the empty string.
Display name. Unique in the team: the service answers 409 for a name that another role of the team has.
The parent role name. It is case-sensitive: the service answers 400 for a name that no system role has.
List of permissions. Each must be a permission that the service knows, in any case, or the service answers 400. The service keeps the case that it was given. Permissions that differ only in case are one permission, and the service keeps the first in ASCII order. Omitting the list creates a role without permissions.
Response
Response returned after successfully creating a custom role. It holds only the id of the new role: read the role with the get operation.