Reject

By Fediverse Developer Network

https://fedidevs.org/projects/server-apps/kbin/activities/reject/

The Reject activity sends a negative response to Follow activity.

Reference
ActivityAccept
ObjectAn ActivityPub Actor (IRI or inline)

Example

In this example, bob reject follow request from alice.

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "id": "https://lab.kbin.pub/f/object/bf3848a8-15f6-42e1-a318-2cf1637d6814/reject",
  "type": "Reject",
  "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"
  }
}