social.coves.aggregator.revokeApiKey
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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | aggregator.coves.social |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"errors": [
{
"description": "Authentication is required to revoke an API key",
"name": "AuthenticationRequired"
},
{
"description": "Only registered aggregators can revoke API keys",
"name": "AggregatorRequired"
},
{
"description": "Aggregator not found",
"name": "AggregatorNotFound"
},
{
"description": "No API key exists to revoke",
"name": "ApiKeyNotFound"
},
{
"description": "API key has already been revoked",
"name": "ApiKeyAlreadyRevoked"
},
{
"description": "Failed to revoke the API key",
"name": "RevocationFailed"
}
],
"input": {
"encoding": "application/json",
"schema": {
"description": "No input required. Revokes the key for the authenticated aggregator.",
"properties": {},
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"revokedAt": {
"description": "ISO8601 timestamp when the key was revoked",
"format": "datetime",
"type": "string"
}
},
"required": [
"revokedAt"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.coves.aggregator.revokeApiKey",
"lexicon": 1
}