New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Delete Rotated OAuth 2.0 Client Secrets

DELETE 

/admin/clients/:id/secrets/rotate

Removes all rotated secrets from an OAuth 2.0 client. This should be called after all services have been updated to use the new secret and the old secrets are no longer needed.

SDK ReferenceTypeScript
deleteRotatedOAuth2ClientSecrets()
ParametersTypeRequiredDescription
idstringrequiredOAuth 2.0 Client ID
VariableType
dataOAuth2Client