28 lines
1.2 KiB
YAML
28 lines
1.2 KiB
YAML
post:
|
|
operationId: RequestMyAccountDeletion
|
|
summary: Revoke C1 and request account deletion.
|
|
description: |-
|
|
Requires a verified session, its CSRF token in X-CSRF-Token, and the exact configured Origin. The subject comes from the session. In one transaction, revokes any active C1 record, creates or returns the subject's active durable deletion request, and writes the outbox intent. The API does not delete the account synchronously. Repeating the request returns the same active request; a later C1 grant never cancels it.
|
|
security:
|
|
- sessionCookie: []
|
|
sessionCsrf: []
|
|
tags:
|
|
- consent
|
|
responses:
|
|
"202":
|
|
description: The durable account-deletion request is queued for processing.
|
|
headers:
|
|
Cache-Control:
|
|
$ref: ../components/headers.yml#/CacheControlNoStore
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../components/schemas.yml#/ConsentDeletionRequest
|
|
"401":
|
|
$ref: ../components/responses.yml#/Unauthenticated
|
|
"403":
|
|
description: CSRF or Origin validation failed.
|
|
$ref: ../components/responses.yml#/CsrfCheckFailed
|
|
default:
|
|
$ref: ../components/responses.yml#/Problem
|