Revoke a federation share (aa:Unshare + audit, atomic)
DELETE /admin/federation/shares/{id}
DELETE
/admin/federation/shares/{id}
Marks revoked_at + emits aa:Unshare activity + writes federation.share.revoked audit event — atomically. Recipient’s local cache purges per design §4.2; their own derivative work (comments/annotations) is preserved per §4.3.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Responses
Section titled “ Responses ”Revoked.
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
error
required
Human-readable error summary
string
Example
the request could not be completedResource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completedShare already revoked.
One federation_shares row per the 1.22.C design proposal. Pairing alone shares nothing; each row here is an explicit per-object grant.
object
id
required
string format: uuid
grantor_user_ref
required
integer format: int64
object_kind
required
string
object_id
required
string format: uuid
peer_id
required
string format: uuid
target_user_url
NULL = broadcast within peer; non-null = specific user actor URL
string
scope
required
string
expires_at
string format: date-time
notes
required
string
granted_activity_id
required
string format: uuid
granted_at
required
string format: date-time
revoked_at
string format: date-time
revoked_activity_id
string format: uuid
created_at
required
string format: date-time
updated_at
required
string format: date-time