Skip to content

Delete actor

given: "Alice" created an actor on "abel" called "Alice" with username "Alice"

send.Alice.request.create_actor
{
  "base_url": "http://abel",
  "preferred_username": "Alice",
  "profile": {},
  "automatically_accept_followers": null,
  "name": null
}
receive.Alice.response.create_actor
{
  "attachment": null,
  "published": "2026-03-20T15:16:51.173354",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg#legacy-key-1",
    "owner": "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmx2WiWNPYIbmlTHZbqy3\nK3RJeUJu19zbO4hpRHi/U3OuHhTDCEL9+Pehk4L+kmb4DdHh6sRSrd45B0haPqsS\n7WZEN2NLWrVcnjs/UfLOvA8yfHNAdZ9exg3qhyaytdzitdvv96KCGeemdnV7hzT7\nhqzE3EKpw/QhBXpIPfIYsf58f5zZ5o8plSecDmrMoYUG4qYIWJsiAm/KB0aVN2ur\ns7J7FMvMO8kZZskb8NPUSu9KLfHnvs22D4U9h50nzfFbLNrSv2NxMzwp34oElQy7\nO1V8boLCWoqYugE/04fYnEVaZnQoQde3ScWqbjGlLYs+ivzZqHSROZS5lxn55TTG\nAQIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg",
  "type": "Person",
  "inbox": "http://abel/inbox/7e044uq5qQ95HiQJT_kPIA",
  "outbox": "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg/outbox",
  "followers": "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg/followers",
  "following": "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

when: "Alice" deletes herself

send.Alice.trigger.delete_actor
{
  "actor": "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg"
}
receive.Alice.outgoing.Delete
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Delete",
      "actor": "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg/followers",
        "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg/following"
      ],
      "published": "2026-03-20T15:16:51Z",
      "object": "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg",
      "id": "http://abel/object/019d0bd2-1824-7606-ad1e-748d82587d83"
    }
  },
  "actor": "http://abel/actor/iLWybGG-5oF8YDTjpUm2Tg",
  "event_type": "outgoing",
  "history_id": null
}

when: One queries webfinger for "acct:Alice@abel"

then: No actor URI is returned