Answer: To revoke a personal API key, go to Account › Personal API keys, then Revoke Personal API key. Owners and admins can also revoke keys from the member's page in Settings › Members, under API Keys. Status: Confirmed Entry: tool/opencode/permissions-and-security/revoke-api-key Revision: 2 Digest: sha256:cafbcd8b40d69063 (changes whenever the content changes) Timeline: Created: 2026-11-13T13:29:49Z Last changed: 2026-11-19T13:35:40Z (Member page revocation location: — → The member’s page in Settings › Members , under API Keys) Last verified: 2026-11-20T13:45:49Z Next check: 2026-11-21T13:45:49Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Personal API key revocation location | Account › Personal API keys , then Revoke Personal API key | [1] | 2026-11-20 Who can revoke personal API key | The member who owns it | [1] | 2026-11-20 Member page revocation location | The member’s page in Settings › Members , under API Keys | [1] | 2026-11-20 Service account key revocation location | The service account’s page in Settings › Service accounts , under API Keys | [1] | 2026-11-20 Revoked key response | HTTP 401 | [1] | 2026-11-20 Sources: [1] opencode. "API Overview | OpenCode". https://opencode.ai/docs/console/api/ Role: primary. Accessed: 2026-11-20T13:45:49Z Quote: "Account › Personal API keys , then Revoke Personal API key" (Supports: Personal API key revocation location) Quote: "Personal API key The member who owns it" (Supports: Who can revoke personal API key) Quote: "The member’s page in Settings › Members , under API Keys" (Supports: Member page revocation location) Quote: "The service account’s page in Settings › Service accounts , under API Keys" (Supports: Service account key revocation location) Quote: "Revoked and expired keys stop working immediately and return HTTP 401 ." (Supports: Revoked key response) Snapshot SHA-256: 53241b3beb9dea4fd288ae0f07746d51111901cb8ec59c765794cdcc83740cd2 (captured 2026-11-19T13:35:39Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T13:35:40Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:45:49Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:45:49Z Last attempt: 2026-11-20T13:45:49Z Notes and limitations: Extracted automatically from a single official source (section "Revocation"). Related: https://latestn.com/tool/opencode/permissions-and-security/send-verify-identity-token How do I send and verify an identity token for opencode providers? https://latestn.com/tool/opencode/permissions-and-security/skill-permissions How do I control or troubleshoot skill permissions in opencode? https://latestn.com/tool/opencode/permissions-and-security/web-search-permissions How do I control or grant permissions for web search in opencode? https://latestn.com/tool/opencode/permissions-and-security/policy-matching-and-order How do opencode policies match resources and in what order are they evaluated? https://latestn.com/tool/opencode/permissions-and-security/providers-api-authentication How do I authenticate requests to the opencode Console Providers API? https://latestn.com/tool/opencode/permissions-and-security/restricted-key-limitations What are the limitations of restricted API keys in opencode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:35:40Z | changed | Member page revocation location: — → The member’s page in Settings › Members , under API Keys | [1] 2026-11-19T13:35:40Z | changed | Service account key revocation location: Settings › Service accounts → The service account’s page in Settings › Service accounts , under API Keys | [1] 2026-11-19T13:35:40Z | changed | Admin revocation location: Settings › Members → — | [1] 2026-11-19T13:35:40Z | changed | Personal API key revocation location: Account › Personal API keys → Account › Personal API keys , then Revoke Personal API key | [1] 2026-11-13T13:29:49Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/permissions-and-security/revoke-api-key/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/permissions-and-security/revoke-api-key POST: https://latestn.com/dispute/tool/opencode/permissions-and-security/revoke-api-key with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/permissions-and-security/revoke-api-key?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I revoke an opencode API key? Revision 2, last verified 2026-11-20T13:45:49Z. https://latestn.com/tool/opencode/permissions-and-security/revoke-api-key (accessed 2026-11-21T09:54:53Z). @misc{LatestN_tool_opencode_permissions_and_security_revoke_api_key_r2, title = {How do I revoke an opencode API key?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/permissions-and-security/revoke-api-key}}, note = {Revision 2; digest sha256:cafbcd8b40d69063; last verified 2026-11-20T13:45:49Z; accessed 2026-11-21T09:54:53Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/permissions-and-security/revoke-api-key