v11

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-07-065662751.8 MB
RBACRoles

Upsert a RBAC Role

Create or Update RBAC Role using ID.

put/{workspace}/rbac/roles/{RBACRoleId}

Path parameters

workspacestring required
Example:team-payments

The name of the workspace

Request body

commentstring nullable

Additional comment or description for the RBAC role.

created_atinteger nullable

Unix epoch when the resource was created.

idstring nullable

A string representing a UUID (universally unique identifier).

is_defaultboolean nullable

Indicates whether the RBAC role is the default role.

namestring nullable required

The name of the RBAC role.

updated_atinteger nullable

Unix epoch when the resource was last updated.

Response

Successfully upserted RBAC Role

commentstring nullable

Additional comment or description for the RBAC role.

created_atinteger nullable

Unix epoch when the resource was created.

idstring nullable

A string representing a UUID (universally unique identifier).

is_defaultboolean nullable

Indicates whether the RBAC role is the default role.

namestring nullable required

The name of the RBAC role.

updated_atinteger nullable

Unix epoch when the resource was last updated.