Rotate a Salesforce client secret
POST/v1/oauth-clients/salesforce/rotate-secret
Replaces the confidential client secret for the calling Salesforce org and returns the new secret once. Used by the package to recover a usable credential in-product after a Disconnect / Reset, without deleting and re-registering the client.
Request
Responses
- 200
- 401
- 403
- 404
- 429
Secret rotated (new client secret returned once)
Missing or invalid access token
Token is missing the oauth_clients:write scope
No Salesforce client registered for this Salesforce org
Rate limit exceeded