DELETE /oauth/register/{client_id}
OAuth 2.0 dynamic client registration delete endpoint. Uses Registration Access Token to soft-delete client registration. Reference: RFC 7591 §2.3 (Client Delete Request).
OAuth None application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
client_id |
path |
string |
Yes |
|
|
|
Client ID |
Authorization |
header |
string |
Yes |
|
|
|
Bearer <registration_access_token> |
Responses
| Status | Description | Schema |
| 204 | Deleted successfully (no response body) | string |
| 401 | invalid_token: missing or invalid Registration Access Token. Reference: RFC 7591 §2.3. | dto.OAuthErrorResponse |
| 500 | server_error: failed to delete client registration | dto.OAuthErrorResponse |
Referenced Schemas
dto.OAuthErrorResponse
OAuth standard error response
| Field | Type | Required | Example | Constraints | Description |
error |
string |
No |
invalid_request |
|
Error code |
error_description |
string |
No |
Missing required parameter |
|
Error description |
error_uri |
string |
No |
https://docs.example.com/errors |
|
Error URI |
state |
string |
No |
state-123 |
|
Status |