keys

Create an API key

Create an API key with an explicit role. Store the secret from the creation response; it is shown once.

post/api/v1/keys

Request

  • Base URL: https://api.cumuluslabs.io
  • URL: https://api.cumuluslabs.io/api/v1/keys
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Request body

namestring required
role'admin' | 'member' | 'viewer'
can_dialboolean
expires_atstring date-time

Response

Create an API key with an explicit role

key_idstring uuid required
namestring required
role'admin' | 'member' | 'viewer' required
can_dialboolean required
prefixstring required
created_atstring date-time required
last_used_atstring date-time nullable required
expires_atstring date-time nullable required
revoked_atstring date-time nullable required
secretstring required

Changes

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