Skip to main content
POST
/
api
/
v1
/
oauth-apps
/
{id}
/
rotate
Rotate client secret
curl --request POST \
  --url https://api.example.com/api/v1/oauth-apps/{id}/rotate \
  --header 'Authorization: Bearer <token>'
{
  "client_secret": "<string>",
  "client_secret_hint": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<MeteroidId>
required

OAuth app ID

Example:

"app_7n42DGM5Tflk9n8mt7Fhc7"

Response

Rotated secret

Result of rotating a client secret

client_secret
string
required
client_secret_hint
string
required