---
title: "network.account-deletion@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/network.account-deletion"
updated: null
---

# network.account-deletion@1 · OpenVibe.Services

HTML: [network.account-deletion@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/network.account-deletion)

# NetworkAccountDeletion `network.account-deletion@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: network
- Visibility: first-party
- Status: active
- Compatibility: backward
- Decision: [ADR-033](/docs/adr/ADR-033)
- Schema: [`https://openvibe.network/contracts/network/account-deletion.v1.json`](/docs/contracts/network.account-deletion.json)

network.account-deletion@1 (OpenVibe.Network; roadmap WS-B task 7, ADR-033): a person's scheduled account deletion. POST /api/v1/account/deletion (a fresh sign-in, auth\_time within 10 minutes, and the username typed out) schedules it 30 days ahead; GET answers it; DELETE cancels it before delete\_after.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `deletion_id` | string | yes |  | - `pattern ^del_[0-9A-HJKMNP-TV-Z]{26}$` |
| `status` | enum | yes |  | - `one of "scheduled", "cancelled", "deleted"` |
| `requested_at` | string | yes |  | - `format date-time` |
| `delete_after` | string | yes | Nothing leaves Network before this time; the account works normally until then. | - `format date-time` |
| `cancelled_at` | string |  |  | - `format date-time` |
| `deleted_at` | string |  |  | - `format date-time` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: scheduled

~~~~
{
  "deletion_id": "del_01JAB2C3D4E5F6G7H8J9K0MNPT",
  "status": "scheduled",
  "requested_at": "2026-09-27T21:00:00.000Z",
  "delete_after": "2026-10-27T21:00:00.000Z"
}
~~~~

Rejected: no-date

~~~~
{
  "deletion_id": "del_01JAB2C3D4E5F6G7H8J9K0MNPT",
  "status": "scheduled",
  "requested_at": "2026-09-27T21:00:00.000Z"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('network.account-deletion@1', value);   // { valid, errors: [{ path, message }] }
~~~~
