apikeys

post/v1/apikeys

Request body

descriptionstring nullable
expiresInDaysinteger nullable
scopesstring[]
tenantIdstring nullable

Tenant to scope this key to (admin only). Keys created with a tenant_id can only access resources belonging to that tenant.

Response

API key created (plaintext shown once)

idstring required
keystring required

Changes

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