API Keys

Rotate an API key to generate a new key while maintaining the same permissions and associations.

<div> <code>update:api_keys</code> </div>
put/api/v1/api_keys/{key_id}

Request

  • Base URL: https://your_kinde_subdomain.kinde.com
  • URL: https://your_kinde_subdomain.kinde.com/api/v1/api_keys/{key_id}
  • Auth: HTTP bearer

Path parameters

key_idstring required

The ID of the API key to rotate.

Response

API key successfully rotated.

codestring

Response code.

messagestring

Response message.

Example response

{
  "code": "API_KEY_ROTATED",
  "message": "API key rotated successfully",
  "api_key": {
    "id": "api_key_0195ac80a14e8d71f42b98e75d3c61ad",
    "key": "k_live_1234567890abcdef1234567890abcdef"
  }
}

Changes