# Delete an SP signing key **DELETE /api/sso-connectors/{id}/signing-keys/{keyId}** Delete the given Service Provider signing key. The active key cannot be deleted — activate another key or deactivate this key first. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the sso connector. - **keyId** (string) The unique identifier of the key. ## Responses ### 204 The SP signing key was deleted. ### 400 The key is the active signing key and cannot be deleted. ### 401 Unauthorized ### 403 Forbidden ### 404 The SSO connector is not found, is not a SAML connector, or the signing key is not found. [Powered by Bump.sh](https://bump.sh)