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

# network.friend.removed@1 · OpenVibe.Services

HTML: [network.friend.removed@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/network.friend.removed)

# NetworkFriendRemovedPayload `network.friend.removed@1`

Generated at 2026-11-17 06:52:56 UTC from [`openvibe-contracts v0.443.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.443.0) and [`openvibe-sdk v0.177.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.177.0).

- Version: 1.0.0
- Owner: network
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/events/payloads/network.friend.removed.v1.json`](/docs/contracts/network.friend.removed.json)

network.friend.removed v1 (plan §AB.51): \`from\` removed \`to\` (or blocked them): they are no longer friends, and no request stays open from \`from\`. Written to Network's outbox in the transaction that stores the change. Envelope: subject { type: user, id: <to> }, visibility subject, actor <from>.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `from` | string | yes | Who acted. | - `pattern ^usr_[0-9A-HJKMNP-TV-Z]{26}$` |
| `to` | string | yes | The other person. | - `pattern ^usr_[0-9A-HJKMNP-TV-Z]{26}$` |
| `revision` | integer | yes | Grows with every change of this pair; apply the latest. | - `minimum 1`<br>- `maximum 9007199254740991` |
| `at` | string |  |  | - `format date-time` |

## Examples

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

 Valid: pair

~~~~
{
  "from": "usr_01K9R2V6M8Q4T0B7C3D5E9F2GH",
  "to": "usr_01K9R2V6M8Q4T0B7C3D5E9F2GJ",
  "revision": 2,
  "at": "2026-11-14T08:00:00Z"
}
~~~~

Rejected: no-revision

~~~~
{
  "from": "usr_01K9R2V6M8Q4T0B7C3D5E9F2GH",
  "to": "usr_01K9R2V6M8Q4T0B7C3D5E9F2GJ"
}
~~~~

## Validate

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