Skip to content

Revoke an install's key

DELETE
/installs/{id}/key
curl --request DELETE \
--url https://api.canopyhq.dev/installs/example/key \
--header 'Authorization: Bearer <token>'

Revoke under the tenant owner’s console token, keeping the install and its sessions.

id
required

Opaque; never the key, never anything the vendor chose.

string

The install whose key is revoked.

Owner only. No key resolves until the owner rotates. The install and its sessions remain. Open sessions keep their landed config and work until their 15-minute tokens expire; the revoked key cannot renew them.

Only the tenant owner may revoke.

The tenant has no such install, or it was deleted.

Another key-management operation won; retry revocation.