Skip to main content

Undo

When Kbin receives an Undo activity, it deletes the corresponding object from the database. Activity is used with Follow or Like objects.

Reference
ActivityUndo
ObjectFollow or Like

Example‚Äč

In this example, bob undo follow alice.

{
"@context": "https://www.w3.org/ns/activitystreams",
"id": "https://lab.kbin.pub/f/object/bf3848a8-15f6-42e1-a318-2cf1637d6814/accept",
"type": "Undo",
"actor": "https://lab.kbin.pub/u/bob",
"object": {
"id": "https://lab.kbin.pub/f/object/bf3848a8-15f6-42e1-a318-2cf1637d6814/accept",
"type": "Follow",
"actor": "https://lab.kbin.pub/u/bob",
"object": "https://mastodon.social/users/alice"
}
}