Regenerate API key

Regenerates an API key by revoking the old key and creating a new one with the same settings. The old key is permanently deleted — its id is no longer valid. The response contains a new id (UUID) which must be used for all future operations on this key. The new full token is returned only in this response — store it securely. You cannot regenerate the key you are currently using. Permission: account:apikeys:regenerate.

post/v4/account/api-keys/{id}/regenerate

Path parameters

idstring uuid required

Response

New key created. Token returned only once — store immediately.

successboolean
messagestring
warningstring

Reminder that the token is shown only once.

notestring

Confirmation that the old token has been revoked.

Changes

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