social.coves.aggregator.disable

coves.social

Documentation

Disable an aggregator for a community. Updates the authorization record to set enabled=false. Requires moderator permissions.

main procedure

Disable an aggregator for a community. Updates the authorization record to set enabled=false. Requires moderator permissions.

Input

Encodingapplication/json
aggregatorDid stringdid Required

DID of the aggregator to disable

community stringat-identifier Required

DID or handle of the community

Output

Encodingapplication/json
cid stringcid Required

CID of the updated authorization record

disabledAt stringdatetime Optional

When the aggregator was disabled

uri stringat-uri Required

AT-URI of the updated authorization record

Errors

NotAuthorized Caller is not a moderator of this community
AuthorizationNotFound Aggregator is not enabled for this community
AlreadyDisabled Aggregator is already disabled
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "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"
}

Lexicon Garden

@