Toda la documentación
DOCS api / endpoints

POST /api-keys and DELETE /api-keys/:id

Create and revoke account-scoped API keys.

Manage API Keys

Create key

Endpoint: POST /api-keys

Body

NameTypeRequiredDescription
namestringYesFriendly key name (1-100 chars).
workspace_idstringNoTeam account ID for key ownership.

Notes

  • Max 10 keys per account.
  • Raw key is returned only once.
  • Stored value in DB is SHA-256 hash.

Revoke key

Endpoint: DELETE /api-keys/:id

  • Returns 204 on success.
  • Returns 404 if key does not exist.
  • Membership or ownership checks are enforced before deletion.