Apps

Rotate app OAuth secret

Invalidates the current secret, injects a new one, and optionally starts a fresh deployment.

post/api/v1/apps/{appId}/oauth/rotate

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/apps/{appId}/oauth/rotate
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

appIdstring required

Request body

redeployboolean

Response

The rotated credentials and redeploy result.

upsertedKeysstring[] required
failedKeysstring[] required
requiresRedeployboolean required
outcome'rotated' required
clientIdstring required
clientSecretstring required
issuerstring uri required
redirectUrisstring[] required

Changes

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