Skip to main content
POST
/
deployments
/
{deployment_id}
/
oauth
/
apps
/
{oauth_app_slug}
/
clients
/
{oauth_client_id}
/
rotate-secret
Rotate OAuth client secret
curl --request POST \
  --url https://api.wacht.dev/deployments/{deployment_id}/oauth/apps/{oauth_app_slug}/clients/{oauth_client_id}/rotate-secret \
  --header 'Authorization: <api-key>'
{
  "client_secret": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication (format: Bearer {api_key})

Path Parameters

deployment_id
string
required

Deployment ID

oauth_app_slug
string
required

OAuth app slug

oauth_client_id
string
required

OAuth client ID

Response

200 - application/json

OAuth client secret rotated

client_secret
string
required