Revoke connection
In most cases the authorize link is provided in the /connections endpoint. Normally you don't need to manually generate these links.
Use this endpoint to revoke an existing OAuth connector.
Auth links will have a state parameter included to verify the validity of the request. This is the url your users will use to activate OAuth supported integration providers.
Vault handles the complete revoke flow for you and will redirect you to the dynamic redirect uri you have appended to the url.
Path parameters
Service ID of the resource to return
Application ID of the resource to return
Query parameters
An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the application. This value must be used by the application to prevent CSRF attacks.
The redirect uri to redirect to after the revoke flow is completed.
Response
Unexpected error
Example response
{
"status_code": 400,
"error": "Bad Request",
"type_name": "RequestHeadersValidationError",
"message": "Invalid Params",
"detail": "Missing Header: x-apideck-consumer-id",
"ref": "https://developers.apideck.com/errors#unauthorizederror"
}