v3

latestOpenAPI 3.0.12026-07-31240345599.7 KB
Custom user roles

Create custom user role

Creates a new custom user role.

  • The user should have admin role and custom user role right.
post/api/{cloudId}/v1/roles

Request body

namestring required

The name of the custom user role.

grantedRightsstring[]

The list of rights to grant to the custom user role.

disallowedRightsstring[]

The list of rights to disallow to the custom user role.

Example request

{
  "name": "Pre req Rest Api 3",
  "grantedRights": [
    "alert-action",
    "alert-create",
    "alert-add-note"
  ],
  "disallowedRights": [
    "alert-delete"
  ]
}

Response

Returned if the request is successful.

messagestring