APIAPI reference
Disconnect an OAuth client
DELETE /v1/connections/{connection_id}
DELETE /v1/connections/{connection_id}
Immediately blocks current access tokens, revokes Better Auth refresh grants, and removes consent. Reconnecting requires fresh explicit consent.
Authorization
This operation requires a bearer credential. The description defines additional role, scope or first-party-session restrictions; an API key does not grant those permissions by itself.
Parameters
| Property | Type | Required | Details |
|---|---|---|---|
connection_id (path) | string | yes |
Request body
No request body.
Responses
| HTTP | Details | Type |
|---|---|---|
| 204 | Successful Response | |
| 401 | Unauthorized | application/problem+json: ProblemDetails |
| 403 | Forbidden | application/problem+json: ProblemDetails |
| 404 | Not Found | application/problem+json: ProblemDetails |
| 422 | Unprocessable Entity | application/problem+json: ProblemDetails |
This page is generated from OpenAPI; examples are schemas, not a fabricated successful response.