tools.ozone.safelink.removeRule

ozone-lexicons.bsky.social

Documentation

Remove an existing URL safety rule

main procedure

Remove an existing URL safety rule

Input

Encodingapplication/json
comment string Optional

Optional comment about why the rule is being removed

createdBy stringdid Optional

Optional DID of the user. Only respected when using admin auth.

url string Required

The URL or domain to remove the rule for

Output

Encodingapplication/json

Errors

RuleNotFound No active rule found for this URL/domain
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": "Remove an existing URL safety rule",
  "errors": [
    {
      "description": "No active rule found for this URL/domain",
      "name": "RuleNotFound"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "comment": {
          "description": "Optional comment about why the rule is being removed",
          "type": "string"
        },
        "createdBy": {
          "description": "Optional DID of the user. Only respected when using admin auth.",
          "format": "did",
          "type": "string"
        },
        "pattern": {
          "ref": "tools.ozone.safelink.defs#patternType",
          "type": "ref"
        },
        "url": {
          "description": "The URL or domain to remove the rule for",
          "type": "string"
        }
      },
      "required": [
        "url",
        "pattern"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "ref": "tools.ozone.safelink.defs#event",
      "type": "ref"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@