Rotate an Auth Integration OAuth client secret
Rotate an Auth Integration OAuth client secret.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
authIntegrationId*string
Length
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/auth-integrations/string/rotate-secret" \ -H "Content-Type: application/json" \ -d '{ "oauthClient": { "clientId": "string", "clientSecret": "string" } }'{ "authIntegrationId": "string", "authProviderId": "string", "displayName": "string", "clientReferenceId": "string", "providerAppId": "string", "webhookVerifyToken": "string", "status": "active", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}{ "error": { "code": "validation_error", "message": "string", "meta": { "property1": null, "property2": null } }}