Internal: API Keys

Rotate API key - delete old and generate new one with the same name.

Returns the full key only once - store it securely as it cannot be retrieved again.

post/api/v1/developer/api-keys/{key_id}/rotate

Request

  • Base URL: https://api.openwearables.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.openwearables.io/api/v1/developer/api-keys/{key_id}/rotate
  • Auth: OAuth 2 (password, token URL /api/v1/auth/login)

Path parameters

key_idstring uuid required

Response

Successful Response

idstring uuid required
namestring required
key_prefixstring required
created_bystring uuid nullable required
created_atstring date-time required
keystring required

Changes

    • breaking

      for the path request parameter key_id, the format changed from no format to uuid

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status