tools.kryphocron.policy.deleteAudience

Delete a policy.audience record from the writer's own repository. Posts that still name the audience are then readable by their authors only.

Details · procedure
Kindprocedure
Authoritypolicy.kryphocron.tools
Commit rev3n2ivydokcs2a
Indexed

Procedure

procedure · POST

Input

application/json

repo

requiredstring · did

DID of the writer's repository. Must be the authenticated account.

rkey

requiredstring · record-key

Record key of the audience to delete.

  • maxLength: 512

Output

application/json

Errors

InvalidRequest

The request is malformed.

Forbidden

The caller may not write to this repository, or the host does not allow this account private-tier writes.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Delete a postPrivate record from the writer's own repository.

  • tools.kryphocron.policy.manageAudience

    procedure not from the namespace authority

    Create or update a policy.audience record in the writer's own repository. With the rkey of an existing record the record is replaced; otherwise a record is created. Membership changes apply to every post that names the audience.

  • Change the audience of an existing postPrivate record in the writer's own repository. Only audienceList changes; the URI stays the same and the record CID changes. Replies are refused, since a reply's audience is its thread's.

  • Delete a record by at:// URI on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). Covers unlike, unfollow, unblock, and deleting a post or comment — whichever record the URI points at.