Regenerate Api Key

Rotate an API key: create a fresh key, then revoke the old one.

Create-before-revoke so a failure never leaves the account keyless. Net key count is unchanged, so this is safe even when it's the user's only key.

post/auth/api-keys/{key_id}/regenerate

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/{key_id}/regenerate
  • Auth: none declared

Path parameters

key_idinteger required

Response

Successful Response

unknown required

Changes

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