New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Delete Imported API Key

DELETE 

/v2alpha1/admin/importedApiKeys/:key_id

Permanently deletes an imported key (hard delete). The key is removed from the database. Use AdminRevokeImportedApiKey for soft deletion (recommended).

DELETE /v2alpha1/admin/importedApiKeys/{key_id}
SDK ReferenceTypeScript
adminDeleteImportedApiKey()
ParametersTypeRequiredDescription
keyIdstringrequiredSHA512/256 hash of the imported key (REQUIRED)