Skip to content

Removes a new property value

given: "Alice" created an actor on "abel" called "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": "2025-12-19T09:49:39.095915",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA#legacy-key-1",
    "owner": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxSLqaECRJVzjuZBh3kJB\nV2/AjJS/hapQePn5q82sPRaBBUyDGNUxy5KzwHrAEqmUj97C3KbiwnLG6albhVoc\ndwQUGQyo8ixV73Wlp1cVWY14M0gEkgFe4giOsSXuAxkp4GrjEpNOT+078bQQtWhT\nPYkHctxhaWzBhYxwciQbub2qBd9DrkH3RAick5VXQwdadYThojinpnsLIAfNsUwl\nH6YQyl7E/usnmUQ7TNIPbd+ACelCGgQQjfBQAx/inxSrMP2+kUDCFrZ5RbV+JuiT\n+3zGZ4BqhJK+KwsAyhbsGGGxumWBuLDSfQyFQt8N4YJyoYim5f0G5I1VuXR8OZnx\n1wIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
  "type": "Person",
  "inbox": "http://abel/inbox/j-RitLA-w534zx3WsIB-yQ",
  "outbox": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/outbox",
  "followers": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/followers",
  "following": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA"
  ],
  "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/qswxGFoZAOV-FYmSX-UiLA",
  "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/qswxGFoZAOV-FYmSX-UiLA",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/followers"
      ],
      "published": "2025-12-19T09:49:39Z",
      "object": {
        "attachment": [
          {
            "type": "PropertyValue",
            "name": "secure",
            "value": "yes"
          }
        ],
        "published": "2025-12-19T09:49:39.095915",
        "@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/qswxGFoZAOV-FYmSX-UiLA#legacy-key-1",
          "owner": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
          "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxSLqaECRJVzjuZBh3kJB\nV2/AjJS/hapQePn5q82sPRaBBUyDGNUxy5KzwHrAEqmUj97C3KbiwnLG6albhVoc\ndwQUGQyo8ixV73Wlp1cVWY14M0gEkgFe4giOsSXuAxkp4GrjEpNOT+078bQQtWhT\nPYkHctxhaWzBhYxwciQbub2qBd9DrkH3RAick5VXQwdadYThojinpnsLIAfNsUwl\nH6YQyl7E/usnmUQ7TNIPbd+ACelCGgQQjfBQAx/inxSrMP2+kUDCFrZ5RbV+JuiT\n+3zGZ4BqhJK+KwsAyhbsGGGxumWBuLDSfQyFQt8N4YJyoYim5f0G5I1VuXR8OZnx\n1wIDAQAB\n-----END PUBLIC KEY-----\n"
        },
        "id": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
        "type": "Person",
        "inbox": "http://abel/inbox/j-RitLA-w534zx3WsIB-yQ",
        "outbox": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/outbox",
        "followers": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/followers",
        "following": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/following",
        "preferredUsername": "Alice",
        "name": "Alice",
        "identifiers": [
          "acct:Alice@abel",
          "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA"
        ],
        "endpoints": {
          "sharedInbox": "http://abel/shared_inbox"
        },
        "manuallyApprovesFollowers": true
      },
      "id": "http://abel/object/019b3603-d4be-7a04-b9a6-56b5ca1c6a21"
    }
  },
  "actor": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
  "event_type": "outgoing",
  "history_id": null
}

when: "Alice" removes the PropertyValue "secure"

send.Alice.trigger.update_actor
{
  "actor": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
  "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/qswxGFoZAOV-FYmSX-UiLA",
      "to": [
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "cc": [
        "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/followers"
      ],
      "published": "2025-12-19T09:49:39Z",
      "object": {
        "attachment": [],
        "published": "2025-12-19T09:49:39.095915",
        "@context": [
          "https://www.w3.org/ns/activitystreams",
          "https://w3id.org/security/v1",
          {
            "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
          }
        ],
        "publicKey": {
          "id": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA#legacy-key-1",
          "owner": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
          "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxSLqaECRJVzjuZBh3kJB\nV2/AjJS/hapQePn5q82sPRaBBUyDGNUxy5KzwHrAEqmUj97C3KbiwnLG6albhVoc\ndwQUGQyo8ixV73Wlp1cVWY14M0gEkgFe4giOsSXuAxkp4GrjEpNOT+078bQQtWhT\nPYkHctxhaWzBhYxwciQbub2qBd9DrkH3RAick5VXQwdadYThojinpnsLIAfNsUwl\nH6YQyl7E/usnmUQ7TNIPbd+ACelCGgQQjfBQAx/inxSrMP2+kUDCFrZ5RbV+JuiT\n+3zGZ4BqhJK+KwsAyhbsGGGxumWBuLDSfQyFQt8N4YJyoYim5f0G5I1VuXR8OZnx\n1wIDAQAB\n-----END PUBLIC KEY-----\n"
        },
        "id": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
        "type": "Person",
        "inbox": "http://abel/inbox/j-RitLA-w534zx3WsIB-yQ",
        "outbox": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/outbox",
        "followers": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/followers",
        "following": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/following",
        "preferredUsername": "Alice",
        "name": "Alice",
        "identifiers": [
          "acct:Alice@abel",
          "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA"
        ],
        "endpoints": {
          "sharedInbox": "http://abel/shared_inbox"
        },
        "manuallyApprovesFollowers": true
      },
      "id": "http://abel/object/019b3603-d5df-74c0-a938-f91f32675056"
    }
  },
  "actor": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
  "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/qswxGFoZAOV-FYmSX-UiLA",
  "uri": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA"
}
receive.Alice.response.fetch
{
  "actor": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
  "uri": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
  "data": {
    "attachment": [],
    "published": "2025-12-19T09:49:39.095915",
    "@context": [
      "https://www.w3.org/ns/activitystreams",
      "https://w3id.org/security/v1",
      {
        "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
      }
    ],
    "publicKey": {
      "id": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA#legacy-key-1",
      "owner": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
      "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxSLqaECRJVzjuZBh3kJB\nV2/AjJS/hapQePn5q82sPRaBBUyDGNUxy5KzwHrAEqmUj97C3KbiwnLG6albhVoc\ndwQUGQyo8ixV73Wlp1cVWY14M0gEkgFe4giOsSXuAxkp4GrjEpNOT+078bQQtWhT\nPYkHctxhaWzBhYxwciQbub2qBd9DrkH3RAick5VXQwdadYThojinpnsLIAfNsUwl\nH6YQyl7E/usnmUQ7TNIPbd+ACelCGgQQjfBQAx/inxSrMP2+kUDCFrZ5RbV+JuiT\n+3zGZ4BqhJK+KwsAyhbsGGGxumWBuLDSfQyFQt8N4YJyoYim5f0G5I1VuXR8OZnx\n1wIDAQAB\n-----END PUBLIC KEY-----\n"
    },
    "id": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA",
    "type": "Person",
    "inbox": "http://abel/inbox/j-RitLA-w534zx3WsIB-yQ",
    "outbox": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/outbox",
    "followers": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/followers",
    "following": "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA/following",
    "preferredUsername": "Alice",
    "name": "Alice",
    "identifiers": [
      "acct:Alice@abel",
      "http://abel/actor/qswxGFoZAOV-FYmSX-UiLA"
    ],
    "endpoints": {
      "sharedInbox": "http://abel/shared_inbox"
    },
    "manuallyApprovesFollowers": true
  }
}

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