Roles

Create a custom role

Changed on
post/api/v1/roles

Request

  • Base URL: https://your-tenant.cubecloud.dev
  • URL: https://your-tenant.cubecloud.dev/api/v1/roles
  • Auth: HTTP bearer

Request body

descriptionstring nullable
namestring required

Unique role name. Cannot be one of the built-in role names, which are rejected with 400: Admin, Developer, AIBIDeveloper, D3User, AIBIUser, AIBIViewer, Guest, EmbedUser. (The console additionally refuses None and All in its own role builder; those are accepted here.)

Response

descriptionstring nullable
idinteger required
namestring required

Changes