rbac

Create Role

Create a custom role.

Requires: org:rbac:create scope

post/rbac/roles

Request

  • Base URL
    https://platform.tracecat.com/api
  • Auth
    • API key in cookie fastapiusersauth
    • or HTTP bearer

Request body

namestring required

Role name

descriptionstring nullable

Optional description of the role

scope_idsstring[]

List of scope IDs to assign to the role

Response

Successful Response

idstring uuid required
namestring required
slugstring nullable
descriptionstring nullable
organization_idstring uuid required
created_atstring date-time required
updated_atstring date-time required
created_bystring uuid nullable
is_systemboolean required

Whether this is a preset system role.

Changes

No recorded changes to this operation across all 1 revision of this API.