roles

Create a custom role with an exact capability set

post/v1/roles

Request

  • Base URL: https://api.typenode.ai
  • URL: https://api.typenode.ai/v1/roles
  • Auth: HTTP bearer

Headers

Idempotency-Keystring uuid required

A caller-generated UUID identifying this exact semantic command.

Request body

descriptionstring nullable
namestring required

Response

The created role, with its capability set.

assignee_countinteger required
created_atstring date-time required
descriptionstring nullable required
idstring uuid required
namestring required
template_key'owner' | 'builder' | 'operator' | 'viewer' | 'everyone' nullable required
versioninteger required

Changes

No recorded changes to this operation across all 2 revisions of this API.