social.coves.aggregator.disable
Disable an aggregator for a community. Updates the authorization record to set enabled=false. Requires moderator permissions.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | aggregator.coves.social |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Disable an aggregator for a community. Updates the authorization record to set enabled=false. Requires moderator permissions.",
"errors": [
{
"description": "Caller is not a moderator of this community",
"name": "NotAuthorized"
},
{
"description": "Aggregator is not enabled for this community",
"name": "AuthorizationNotFound"
},
{
"description": "Aggregator is already disabled",
"name": "AlreadyDisabled"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"aggregatorDid": {
"description": "DID of the aggregator to disable",
"format": "did",
"type": "string"
},
"community": {
"description": "DID or handle of the community",
"format": "at-identifier",
"type": "string"
}
},
"required": [
"community",
"aggregatorDid"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "CID of the updated authorization record",
"format": "cid",
"type": "string"
},
"disabledAt": {
"description": "When the aggregator was disabled",
"format": "datetime",
"type": "string"
},
"uri": {
"description": "AT-URI of the updated authorization record",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.coves.aggregator.disable",
"lexicon": 1
}