Homepage

activity_unpublish

Last edit: Nov 10, 2026

Removes activities from every feed they were published to. The activities
themselves are not deleted. Arguments can be combined; each one removes the
activities it matches.

activity_unpublish(
  record_id: ID
  related_to_object: ActiveRecordReference
  uuid: ID
): [ID]

Arguments

record_id (ID)

Removes every activity whose actor, object, target or attributted_to is {"id": "<record_id>"}

Removes every activity whose payload contains "id": "<type>.<id>" for the given type and id (ids is ignored)

uuid (ID)

UUID of an activity to remove from all feeds

Type

ID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Questions?

We are always happy to help with any questions you may have.

contact us