Rotate the client secret for an OAuth client. The old secret will be invalidated.
OAuth client secret rotated successfully
Bad request error
Unauthorized error
Forbidden error
Not found error
Internal server error
curl -i -X PUT \ https://api-prod.surfsight.net/v2/oauth/clients/:clientId/secret \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "data": {
- "clientId": "abc123def456",
- "clientSecret": "secret_abc123xyz789",
- "clientName": "My Integration Client",
- "entityType": "partner",
- "entityId": "entity789",
- "createdAt": "2024-01-15T10:30:00Z"
}, - "requestId": "06327cae-e075-42ca-b620-c5cfdd3b4e37"
}