Account

Revoke an API key

DELETE /v1/account/api-keys/{id}
Permission
delete:tokens
Tokens
CLI user token

Revoke an API key. Requests made with it fail from then on. Only a GitHub administrator of your organization can revoke a key.

Path parameters

idstringrequired
{
"ok": bool
}

Response

okdefault trueboolean

On this page

No Headings
Schedule a demo
For HumansFor Agents