dev.cocore.account.deleteApiKey
Hard-delete one of the authenticated account's API keys, removing the row entirely (no audit trail recovery afterwards). For most flows revokeApiKey is preferable; use this to clean up revoked or expired keys you no longer want listed. Scoped to the caller's DID. Idempotent: deleting an unknown key returns `deleted: false`.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | account.cocore.dev |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Hard-delete one of the authenticated account's API keys, removing the row entirely (no audit trail recovery afterwards). For most flows revokeApiKey is preferable; use this to clean up revoked or expired keys you no longer want listed. Scoped to the caller's DID. Idempotent: deleting an unknown key returns `deleted: false`.",
"errors": [
{
"description": "No valid session cookie or bearer key was presented.",
"name": "AuthRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"id": {
"description": "The `id` of the key to delete (from createApiKey or listApiKeys).",
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"deleted": {
"description": "True if a key owned by the caller was deleted by this call; false if no matching key existed.",
"type": "boolean"
}
},
"required": [
"deleted"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "dev.cocore.account.deleteApiKey",
"lexicon": 1
}