Skip to main content

Update Role

POSThttps://api.eu1.coralogix.com/mgmt/openapi/5/aaa/custom-roles/v1/{role_id}

Updates the specified custom role.

Authorizations

Authorizationstringheaderrequired
API key authentication

Request​

Path Parameters

    role_id# int64required

    Possible values: >= 0

    The role id.

Body

application/json

Request for updating a custom role.

    newDescription#string

    The new description. Omit to keep the description.

    newName#string

    The new name. Omit to keep the name. The service answers 409 for a name that another role of the team has.

    Replaces the permissions of the role. Omit to keep them. An object without permissions removes every permission. The parent role cannot be changed.

Response

application/json

Response returned after successfully updating a custom role.