POST
/api/me/account-deletionAuthenticatedno delegated callersRequest deletion of my account
Only the user's own credential may request it: a delegated token (an agent acting for the user, RFC 8693 act) is refused with 403 delegated_caller_refused, even when it carries the same scope. This example server records nothing.
operationId
post_api_me_account_deletionAccountAuthentication & permissionsAuthenticated
Any authenticated user
- Accepted credentials
- Access token (Bearer)
Authorization: Bearer <JWT> - Access token (cookie)
cookie "access_token_<api_server_id>"
- Access token (Bearer)
- Who may call
- Any authenticated user
- Delegated callers
- Refused: only the user's own credential is accepted, never one an actor (such as an agent) holds on the user's behalf.
Responses
application/json
| Property | Type | Description |
|---|---|---|
| uid* | string |
JSONExample
"uid""string"
Example request
bashcurl
curl -X POST 'https://example-nextjs-resource-server.schemavaults.com/api/me/account-deletion' \
-H 'Authorization: Bearer <access_token>'