tools.ozone.queue.deleteQueue

ozone-lexicons.bsky.social

Documentation

Delete a moderation queue. Optionally migrate reports to another queue.

main procedure

Delete a moderation queue. Optionally migrate reports to another queue.

Input

Encodingapplication/json
migrateToQueueId integer Optional

Optional: migrate all reports to this queue. If not specified, reports will be set to unassigned (-1).

queueId integer Required

ID of the queue to delete

Output

Encodingapplication/json
deleted boolean Required

No description available.

reportsMigrated integer Optional

Number of reports that were migrated (if migration occurred)

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": "Delete a moderation queue. Optionally migrate reports to another queue.",
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "migrateToQueueId": {
          "description": "Optional: migrate all reports to this queue. If not specified, reports will be set to unassigned (-1).",
          "type": "integer"
        },
        "queueId": {
          "description": "ID of the queue to delete",
          "type": "integer"
        }
      },
      "required": [
        "queueId"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "deleted": {
          "type": "boolean"
        },
        "reportsMigrated": {
          "description": "Number of reports that were migrated (if migration occurred)",
          "type": "integer"
        }
      },
      "required": [
        "deleted"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@