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 |
Procedure
procedure · POSTInput
application/jsonThe `id` of the key to delete (from createApiKey or listApiKeys).
minLength: 1maxLength: 200
Output
application/jsonTrue if a key owned by the caller was deleted by this call; false if no matching key existed.
Errors
AuthRequired
No valid session cookie or bearer key was presented.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.cocore.account.revokeApiKey
procedureRevoke one of the authenticated account's API keys. The key stops authenticating immediately, but the row is retained with `revokedAt` set so it stays visible in listApiKeys as a revoked key (audit trail). Use deleteApiKey to remove it entirely. Scoped to the caller's DID — you cannot revoke another account's key. Idempotent: revoking an already-revoked or unknown key returns `revoked: false`.
-
social.coves.aggregator.revokeApiKey
procedureRevoke 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.
-
List every API key belonging to the authenticated account, most-recently-created first. The owning DID is derived from the credential presented (session cookie or `Authorization: Bearer cocore-...`); there is no way to list another account's keys. Secrets are never returned — see `apiKeyView`.
-
rip.pds.account.deleteAccount
procedureDelete an account the caller minted, ahead of its expiry. The identity is retired as it would have been on expiry.
-
Shared type definitions for dev.cocore.account.* methods.