Skip to main content
HTTP 409 Not retryable

Why

A key never revokes itself, so a revocation made with a key always leaves a management key in the environment.

What to do

To replace the key, rotate it with POST /v1/keys/rotate: it stops working when the overlap ends. To end it now, revoke it with another management key.

In the SDKs

The Node and Python SDKs raise ConflictError. The Go SDK returns *apierrors.ConflictError, which you match with errors.As.
Every error has this shape. Errors and limits lists every code.