Delete Web Key
DELETE/v2beta/web_keys/:id
Delete a web key pair. Only inactive keys can be deleted. Once a key is deleted, any tokens signed by this key will be invalid. Note that the JWKs OIDC endpoint returns a cacheable response. In case the web key is not found, the request will return a successful response as the desired state is already achieved. You can check the change date in the response to verify if the web key was deleted during the request.
Required permission:
iam.web_key.delete
Required feature flag:
web_key
Request​
Responses​
- 200
- 400
- 403
- 404
- default
Web key deleted successfully.
The feature flag web_key
is not enabled or the web key is currently active.
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
An unexpected error response.