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
| Kind | procedure |
|---|---|
| Authority | policy.kryphocron.tools |
| Commit rev | 3n2ivydokcs2a |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Delete a policy.audience record from the writer's own repository. Posts that still name the audience are then readable by their authors only.",
"errors": [
{
"description": "The request is malformed.",
"name": "InvalidRequest"
},
{
"description": "The caller may not write to this repository, or the host does not allow this account private-tier writes.",
"name": "Forbidden"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"repo": {
"description": "DID of the writer's repository. Must be the authenticated account.",
"format": "did",
"type": "string"
},
"rkey": {
"description": "Record key of the audience to delete.",
"format": "record-key",
"maxLength": 512,
"type": "string"
}
},
"required": [
"repo",
"rkey"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "tools.kryphocron.policy.deleteAudience",
"lexicon": 1
}