Rotate Client Secret

Rotate the client secret for an OAuth client. The old secret will be invalidated.

Request
Security:
path Parameters
clientId
required
string (OAuth Client ID) non-empty

The unique identifier of the OAuth client

Example: abc123def456
Responses
200

OAuth client secret rotated successfully

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

put/oauth/clients/{clientId}/secret
Request samples
curl -i -X PUT \
  https://api-prod.surfsight.net/v2/oauth/clients/:clientId/secret \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "data": {
    },
  • "requestId": "06327cae-e075-42ca-b620-c5cfdd3b4e37"
}