requestAccountDeletion
Requires a customer (portal or buyer app) session.
Buyer-initiated account closure. Revokes access immediately (status INACTIVE + deletedAt) and signs out every device; staff complete the personal-data erasure within 30 days. Orders/invoices are retained as statutory records. Required by the Play account-deletion policy and App Store guideline 5.1.1(v).
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
mutation RequestAccountDeletion {
requestAccountDeletion
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation RequestAccountDeletion {\n requestAccountDeletion\n}"
}
EOF
Response:
{
"data": {
"requestAccountDeletion": true
}
}
requestAccountDeletion(
reason: String
): Boolean!
Arguments
requestAccountDeletion.reason ● String scalar
Why the account is being deleted.
Type
Boolean scalar
The Boolean scalar type represents true or false.