Access Control

Create a role definition

Create a new role in the caller's domain. Requires the admin role.

post/api/v1/access-control/roles/definitions

Request

  • Base URL: https://dashboard.sealgate.ai
  • URL: https://dashboard.sealgate.ai/api/v1/access-control/roles/definitions
  • Auth: HTTP bearer

Request body

rolestring required

Role name (alphanumeric, hyphens, underscores)

descriptionstring nullable

Human-readable description

Response

The created role definition

idinteger required
rolestring required

Role name

domainstring required

Domain scope

priorityinteger required

Ordinal rank within the org (0 = highest priority)

descriptionstring nullable
created_atstring date-time required

Changes

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