API ReferencePrivacy
Request Account Deletion
Queue a 30-day grace account deletion.
Endpoint
POST /v1/privacy:requestAccountDeletionBase URL: https://<Domain id="api"/>
Authentication: User session.
Queues the authenticated identity for deletion at now + 30d. Existing sessions remain active during the grace window unless revoke_sessions: true is set. After the grace window, identity records are tombstoned and personal data is scrubbed from all downstream stores.
Request Body
{
"reason": "OTHER",
| Field | Type | Required | Description |
|---|---|---|---|
reason | enum | No | OTHER, PRIVACY_CONCERN, DUPLICATE_ACCOUNT, UNUSED |
note | string | No | Free-form comment |
revoke_sessions | bool | No | Default false |
cancel_on_login | bool | No | Default true -- signing in during the grace window auto-cancels |
Example
body := strings.NewReader(`{"reason":"OTHER","note":"Moving to a new provider"}`)
req, _ := http.NewRequest("POST",
"https://api-id.avnology.net/v1/privacy:requestAccountDeletion", body)
req.Header.Set
import httpx
httpx.post(
"https://api-id.avnology.net/v1/privacy:requestAccountDeletion",
json={"reason": "OTHER", "note": "Moving to a new provider"},
headers={"Authorization"
curl -X POST "https://api-id.avnology.net/v1/privacy:requestAccountDeletion" \
-H "Authorization: Bearer $SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{"reason":"OTHER","note":"Moving to a new provider"}'body := strings.NewReader(`{"reason":"OTHER","note":"Moving to a new provider"}`)
req, _ := http.NewRequest("POST",
"https://api-id.avnology.net/v1/privacy:requestAccountDeletion", body)
req.Header.Set
import httpx
httpx.post(
"https://api-id.avnology.net/v1/privacy:requestAccountDeletion",
json={"reason": "OTHER", "note": "Moving to a new provider"},
headers={"Authorization"
curl -X POST "https://api-id.avnology.net/v1/privacy:requestAccountDeletion" \
-H "Authorization: Bearer $SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{"reason":"OTHER","note":"Moving to a new provider"}'body := strings.NewReader(`{"reason":"OTHER","note":"Moving to a new provider"}`)
req, _ := http.NewRequest("POST",
"https://api-id.avnology.net/v1/privacy:requestAccountDeletion", body)
req.Header.Set
import httpx
httpx.post(
"https://api-id.avnology.net/v1/privacy:requestAccountDeletion",
json={"reason": "OTHER", "note": "Moving to a new provider"},
headers={"Authorization"
curl -X POST "https://api-id.avnology.net/v1/privacy:requestAccountDeletion" \
-H "Authorization: Bearer $SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{"reason":"OTHER","note":"Moving to a new provider"}'body := strings.NewReader(`{"reason":"OTHER","note":"Moving to a new provider"}`)
req, _ := http.NewRequest("POST",
"https://api-id.avnology.net/v1/privacy:requestAccountDeletion", body)
req.Header.Set
import httpx
httpx.post(
"https://api-id.avnology.net/v1/privacy:requestAccountDeletion",
json={"reason": "OTHER", "note": "Moving to a new provider"},
headers={"Authorization"
Response (202 Accepted)
{
"id": "del_01H7X3K9Q1",
"status": "scheduled",
"scheduled_for": "2026-05-17T12:00:00Z",
"cancel_url": "/v1/privacy/deletions/del_01H7X3K9Q1:cancel"
}