social.coves.aggregator.revokeApiKey

coves.social

Documentation

Revoke the authenticated aggregator's API key. After revocation, the aggregator must complete OAuth flow again to create a new API key. This action cannot be undone.

main procedure

Revoke the authenticated aggregator's API key. After revocation, the aggregator must complete OAuth flow again to create a new API key. This action cannot be undone.

Input

Encodingapplication/json

Output

Encodingapplication/json
revokedAt stringdatetime Required

ISO8601 timestamp when the key was revoked

Errors

AuthenticationRequired Authentication is required to revoke an API key
AggregatorRequired Only registered aggregators can revoke API keys
AggregatorNotFound Aggregator not found
ApiKeyNotFound No API key exists to revoke
ApiKeyAlreadyRevoked API key has already been revoked
RevocationFailed Failed to revoke the API key
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",
      "properties": {},
      "description": "No input required. Revokes the key for the authenticated aggregator."
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "AuthenticationRequired",
      "description": "Authentication is required to revoke an API key"
    },
    {
      "name": "AggregatorRequired",
      "description": "Only registered aggregators can revoke API keys"
    },
    {
      "name": "AggregatorNotFound",
      "description": "Aggregator not found"
    },
    {
      "name": "ApiKeyNotFound",
      "description": "No API key exists to revoke"
    },
    {
      "name": "ApiKeyAlreadyRevoked",
      "description": "API key has already been revoked"
    },
    {
      "name": "RevocationFailed",
      "description": "Failed to revoke the API key"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "revokedAt"
      ],
      "properties": {
        "revokedAt": {
          "type": "string",
          "format": "datetime",
          "description": "ISO8601 timestamp when the key was revoked"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Revoke the authenticated aggregator's API key. After revocation, the aggregator must complete OAuth flow again to create a new API key. This action cannot be undone."
}

Lexicon Garden

@