Skip to content

Removes a new property value

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:19:06.171463",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg#legacy-key-1",
    "owner": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApZiCAjG0MTaoyl5qkGF/\n8VqKnmyZEN8kZZeDoCslecAWhzicOklRn0JW87U1Y7+oPe6Mo139D1kmNrS3ehNZ\nKmSwEvQmtfV2jgm8TUbT5wjXgVyqIGlLH19N0d8Y78hlNwcEQafwk/19LNPBqAGb\nDjBsUBeSvJt/0uBb3sV2pfWPt7ce8uoLtvjE/LcDKNAdBiiYp+Q9v/8flDuYzpr9\n0JVkwwNIaE0EmPhz6q7PRQCI8ngvDOxZ/Yc0PyIIhakShOF6J/gAV+hKDPEvpCIT\nX9nKEIT8vk0M0GsralgUyjLxUcT2teimHVyx6vmifMXSLOZwRASU175WHRUhIQ5h\nMwIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
  "type": "Person",
  "inbox": "http://abel/inbox/gy823o8tvx2AQ97CPNXrMQ",
  "outbox": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/outbox",
  "followers": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/followers",
  "following": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

given: "Alice" has the PropertyValue "secure" with value "yes"

send.Alice.trigger.update_actor
{
  "actor": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
  "actions": [
    {
      "action": "update_property_value",
      "key": "secure",
      "value": "yes"
    }
  ]
}
receive.Alice.outgoing.Update
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Update",
      "actor": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/followers"
      ],
      "published": "2026-03-20T15:19:06Z",
      "object": {
        "attachment": [
          {
            "type": "PropertyValue",
            "name": "secure",
            "value": "yes"
          }
        ],
        "published": "2026-03-20T15:19:06.171463",
        "@context": [
          "https://www.w3.org/ns/activitystreams",
          "https://w3id.org/security/v1",
          {
            "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
          },
          {
            "PropertyValue": {
              "@id": "https://schema.org/PropertyValue",
              "@context": {
                "value": "https://schema.org/value",
                "name": "https://schema.org/name"
              }
            }
          }
        ],
        "publicKey": {
          "id": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg#legacy-key-1",
          "owner": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
          "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApZiCAjG0MTaoyl5qkGF/\n8VqKnmyZEN8kZZeDoCslecAWhzicOklRn0JW87U1Y7+oPe6Mo139D1kmNrS3ehNZ\nKmSwEvQmtfV2jgm8TUbT5wjXgVyqIGlLH19N0d8Y78hlNwcEQafwk/19LNPBqAGb\nDjBsUBeSvJt/0uBb3sV2pfWPt7ce8uoLtvjE/LcDKNAdBiiYp+Q9v/8flDuYzpr9\n0JVkwwNIaE0EmPhz6q7PRQCI8ngvDOxZ/Yc0PyIIhakShOF6J/gAV+hKDPEvpCIT\nX9nKEIT8vk0M0GsralgUyjLxUcT2teimHVyx6vmifMXSLOZwRASU175WHRUhIQ5h\nMwIDAQAB\n-----END PUBLIC KEY-----\n"
        },
        "id": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
        "type": "Person",
        "inbox": "http://abel/inbox/gy823o8tvx2AQ97CPNXrMQ",
        "outbox": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/outbox",
        "followers": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/followers",
        "following": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/following",
        "preferredUsername": "Alice",
        "name": "Alice",
        "identifiers": [
          "acct:Alice@abel",
          "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg"
        ],
        "endpoints": {
          "sharedInbox": "http://abel/shared_inbox"
        },
        "manuallyApprovesFollowers": true
      },
      "id": "http://abel/object/019d0bd4-2746-7cc9-908d-59a73bc26c06"
    }
  },
  "actor": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
  "event_type": "outgoing",
  "history_id": null
}

when: "Alice" removes the PropertyValue "secure"

send.Alice.trigger.update_actor
{
  "actor": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
  "actions": [
    {
      "action": "remove_property_value",
      "key": "secure"
    }
  ]
}
receive.Alice.outgoing.Update
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Update",
      "actor": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/followers"
      ],
      "published": "2026-03-20T15:19:06Z",
      "object": {
        "attachment": [],
        "published": "2026-03-20T15:19:06.171463",
        "@context": [
          "https://www.w3.org/ns/activitystreams",
          "https://w3id.org/security/v1",
          {
            "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
          }
        ],
        "publicKey": {
          "id": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg#legacy-key-1",
          "owner": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
          "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApZiCAjG0MTaoyl5qkGF/\n8VqKnmyZEN8kZZeDoCslecAWhzicOklRn0JW87U1Y7+oPe6Mo139D1kmNrS3ehNZ\nKmSwEvQmtfV2jgm8TUbT5wjXgVyqIGlLH19N0d8Y78hlNwcEQafwk/19LNPBqAGb\nDjBsUBeSvJt/0uBb3sV2pfWPt7ce8uoLtvjE/LcDKNAdBiiYp+Q9v/8flDuYzpr9\n0JVkwwNIaE0EmPhz6q7PRQCI8ngvDOxZ/Yc0PyIIhakShOF6J/gAV+hKDPEvpCIT\nX9nKEIT8vk0M0GsralgUyjLxUcT2teimHVyx6vmifMXSLOZwRASU175WHRUhIQ5h\nMwIDAQAB\n-----END PUBLIC KEY-----\n"
        },
        "id": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
        "type": "Person",
        "inbox": "http://abel/inbox/gy823o8tvx2AQ97CPNXrMQ",
        "outbox": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/outbox",
        "followers": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/followers",
        "following": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/following",
        "preferredUsername": "Alice",
        "name": "Alice",
        "identifiers": [
          "acct:Alice@abel",
          "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg"
        ],
        "endpoints": {
          "sharedInbox": "http://abel/shared_inbox"
        },
        "manuallyApprovesFollowers": true
      },
      "id": "http://abel/object/019d0bd4-2880-742a-b75d-6241d39134e8"
    }
  },
  "actor": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
  "event_type": "outgoing",
  "history_id": null
}

when: "Alice" retrieves the object with the actor id of "Alice"

send.Alice.request.fetch
{
  "actor": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
  "uri": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg"
}
receive.Alice.response.fetch
{
  "actor": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
  "uri": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
  "data": {
    "attachment": [],
    "published": "2026-03-20T15:19:06.171463",
    "@context": [
      "https://www.w3.org/ns/activitystreams",
      "https://w3id.org/security/v1",
      {
        "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
      }
    ],
    "publicKey": {
      "id": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg#legacy-key-1",
      "owner": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
      "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApZiCAjG0MTaoyl5qkGF/\n8VqKnmyZEN8kZZeDoCslecAWhzicOklRn0JW87U1Y7+oPe6Mo139D1kmNrS3ehNZ\nKmSwEvQmtfV2jgm8TUbT5wjXgVyqIGlLH19N0d8Y78hlNwcEQafwk/19LNPBqAGb\nDjBsUBeSvJt/0uBb3sV2pfWPt7ce8uoLtvjE/LcDKNAdBiiYp+Q9v/8flDuYzpr9\n0JVkwwNIaE0EmPhz6q7PRQCI8ngvDOxZ/Yc0PyIIhakShOF6J/gAV+hKDPEvpCIT\nX9nKEIT8vk0M0GsralgUyjLxUcT2teimHVyx6vmifMXSLOZwRASU175WHRUhIQ5h\nMwIDAQAB\n-----END PUBLIC KEY-----\n"
    },
    "id": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg",
    "type": "Person",
    "inbox": "http://abel/inbox/gy823o8tvx2AQ97CPNXrMQ",
    "outbox": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/outbox",
    "followers": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/followers",
    "following": "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg/following",
    "preferredUsername": "Alice",
    "name": "Alice",
    "identifiers": [
      "acct:Alice@abel",
      "http://abel/actor/gi2Ex2nRM9-MTrAkCWmILg"
    ],
    "endpoints": {
      "sharedInbox": "http://abel/shared_inbox"
    },
    "manuallyApprovesFollowers": true
  }
}

then: The profile does not contain the property value "secure"