# Delete OIDC key **DELETE /api/configs/oidc/{keyType}/{keyId}** Delete an OIDC signing key by key type and key ID. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **keyType** (string) Private keys are used to sign OIDC JWTs. Cookie keys are used to sign OIDC cookies. For clients, they do not need to know private keys to verify OIDC JWTs; they can use public keys from the JWKS endpoint instead. - **keyId** (string) The unique identifier of the key. ## Responses ### 204 The key was deleted successfully. ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 404 The key was not found. ### 422 At least one key must be kept. [Powered by Bump.sh](https://bump.sh)