Create New Api Key

Generate a new API key. Returns the full key (shown only once).

Uses authenticate_user (like /auth/me and regenerate) so id is the REAL user id — under bare authenticate() it was the api_keys row id, so keys created via API-key auth were attached to the wrong user_id.

post/auth/api-keys

Request

  • Base URL: https://api.n0brains.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.n0brains.com/auth/api-keys
  • Auth: none declared

Response

Successful Response

unknown required

Changes

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