Delete API key
Revoke an API key immediately.
Manage API keys in Darwin
Authorizations
The HTTP-only Darwin account session cookie set after sign-in. Local development uses better-auth.session_token without the __Secure- prefix.
Path Parameters
The API-key ID returned by Create API key or List API keys. This is not the secret key value.
1 - 200Response
The revoked API-key metadata.
Stable non-secret identifier for the API key.
Human-readable key name supplied at creation.
Non-secret prefix you can use to identify the key in logs and settings.
Permissions granted to the key. Every API operation still enforces its required scope.
Lifetime number of requests authenticated with this key.
x >= 0When Darwin most recently authenticated a request with this key, or null if unused.
When the key expires, or null when it has no scheduled expiration.
When the key was revoked, or null while it has not been revoked.
When the key was created.