Delete an OIDC issuer from your Vultr IAM configuration. Remove the trusted issuer to prevent further federated authentication through that identity provider.
Deleting an OIDC issuer removes the registered public key from Vultr. Role trusts that reference the deleted issuer can no longer validate tokens, preventing federated role assumption through that identity provider.
This guide explains how to delete an OIDC issuer using the Vultr API.
Send a GET request to the List OIDC Issuers endpoint to retrieve all issuers.
$ curl "https://api.vultr.com/v2/oidc/issuer" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Note the id of the issuer you want to delete.
Send a DELETE request to the Delete OIDC Issuer endpoint. Replace {issuer-id} with the issuer id.
$ curl "https://api.vultr.com/v2/oidc/issuer/{issuer-id}" \
-X DELETE \
-H "Authorization: Bearer ${VULTR_API_KEY}"
A successful deletion returns an HTTP 204 No Content response with no response body.
Send a GET request to the List OIDC Issuers endpoint to retrieve all issuers.
$ curl "https://api.vultr.com/v2/oidc/issuer" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Verify that the deleted issuer no longer appears in the list.