admin

Create service API key

Mint a platform-level service API key. The plaintext key is returned once and cannot be retrieved again. expires_at is required (service credentials must expire). Admin-user only: a service key cannot mint service keys.

post/v1/admin/service-keys

Request

  • Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.patricia.app/v1/admin/service-keys
  • Auth: HTTP bearer

Request body

namestring required
expires_atstring date-time required

Response

The created key, including the one-time plaintext.

idstring uuid required
namestring required
key_prefixstring required
disabled_atstring date-time nullable
expires_atstring date-time required
last_used_atstring date-time nullable
created_bystring uuid nullable
created_atstring date-time required
updated_atstring date-time required
plaintext_keystring required

Changes

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