public
api-credentials

Rotate a credential's key + secret (public API)

Changed on
post/projects/{project}/api-credentials/{cred}/rotate

Request

  • Base URL
    https://api.urlbox.io/v2
  • Auth
    • API key in header x-api-key
    • or API key in cookie urlbox.session_token

Path parameters

projectstring required
credstring required

Response

OK

idstring required
apiKeystring required
apiSecretstring nullable required
secretLast4string required
revokedboolean required
revokedAtstring nullable required
createdAtstring required

Changes

    • breaking

      response property apiSecret list-of-types was widened by adding types null to media type application/json of response 200

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status