Skip to content

Unsubscribe

Ends a subscription, or cancels a pending subscription request. How subscriptions work is described under Subscribe.

Definition

Unsubscribe has no author. It MUST be sent by the subscriber’s instance. Receivers check this as Subscribe describes.

Type
"Unsubscribe"

Fields

Reference to the User who unsubscribes.

target Reference Required

Reference to the entity unsubscribed from.

target_type string Required

Type of the entity that target points to, such as User.

Inherited from Entity: type, created_at, extensions
{
    "type": "Unsubscribe",
    "created_at": "2021-01-01T00:00:00Z",
    "subscriber": "example.org:033wv9k6n0007",
    "target": "example.com:033qtdbdkj006",
    "target_type": "User"
}