Roles

A role is a group of permissions that can be granted. Permissions are a set of actions that can be applied to entities. For more information, see Rolesarrow-up-right.

Get a list of roles.

get

Use to retrieve a list of roles.

Authorizations
AuthorizationstringRequired

Bearer authentication

Responses
chevron-right
200

Executed successfully.

application/json

May contain additional creation fields that are not updatable

namestringRequiredExample: admin
descriptionstringRequiredExample: can manage all resources
idinteger · int32RequiredExample: 32
createdAtstring · date-timeRequired
updatedAtstring · date-timeRequired
deletedAtstring · date-time · nullableOptional
tenantIdinteger · int32Optional

The id of the tenant.

Example: 1001
createdBystringRequiredExample: [email protected]
get
/api/v1/authorization/roles

Get a role by id.

get

Retrieve the details of a role by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
roleIdPathinteger · int32Required

The id of the role to retrieve

Example: 32
Responses
chevron-right
200

Executed successfully.

application/json

May contain additional creation fields that are not updatable

namestringRequiredExample: admin
descriptionstringRequiredExample: can manage all resources
idinteger · int32RequiredExample: 32
createdAtstring · date-timeRequired
updatedAtstring · date-timeRequired
deletedAtstring · date-time · nullableOptional
tenantIdinteger · int32Optional

The id of the tenant.

Example: 1001
createdBystringRequiredExample: [email protected]
get
/api/v1/authorization/roles/{roleIdPath}

Last updated