Platform

Rotate platform API key

Generate a new API key for the platform app. The old key is immediately invalidated. Returns the new key (one-time).

post/v1/platform/apps/{appId}/rotate-key

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/platform/apps/{appId}/rotate-key
  • Auth: HTTP bearer

Path parameters

appIdstring uuid required

Request body

api_key_expires_atstring date-time nullable

Optional expiration for the new key.

Response

New key generated

api_keystring

The new API key (shown once)

api_key_prefixstring
api_key_expires_atstring date-time nullable

Changes

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