tools.ozone.verification.revokeVerifications

ozone-lexicons.bsky.social

Documentation

Revoke previously granted verifications in batches of up to 100.

main procedure

Revoke previously granted verifications in batches of up to 100.

Input

Encodingapplication/json
revokeReason string Optional

Reason for revoking the verification. This is optional and can be omitted if not needed.

maxLength: 1000 bytes
uris array Required

Array of verification record uris to revoke

maxLength: 100 items

Output

Encodingapplication/json
failedRevocations array Required

List of verification uris that couldn't be revoked, including failure reasons

revokedVerifications array Required

List of verification uris successfully revoked

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
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "uris"
      ],
      "properties": {
        "uris": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "at-uri",
            "description": "The AT-URI of the verification record to revoke."
          },
          "maxLength": 100,
          "description": "Array of verification record uris to revoke"
        },
        "revokeReason": {
          "type": "string",
          "maxLength": 1000,
          "description": "Reason for revoking the verification. This is optional and can be omitted if not needed."
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "revokedVerifications",
        "failedRevocations"
      ],
      "properties": {
        "failedRevocations": {
          "type": "array",
          "items": {
            "ref": "#revokeError",
            "type": "ref"
          },
          "description": "List of verification uris that couldn't be revoked, including failure reasons"
        },
        "revokedVerifications": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "at-uri"
          },
          "description": "List of verification uris successfully revoked"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Revoke previously granted verifications in batches of up to 100."
}
revokeError object

Error object for failed revocations

Properties

error string Required

Description of the error that occurred during revocation.

uri string at-uri Required

The AT-URI of the verification record that failed to revoke.

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "error"
  ],
  "properties": {
    "uri": {
      "type": "string",
      "format": "at-uri",
      "description": "The AT-URI of the verification record that failed to revoke."
    },
    "error": {
      "type": "string",
      "description": "Description of the error that occurred during revocation."
    }
  },
  "description": "Error object for failed revocations"
}

Lexicon Garden

@