How to Delete an OIDC Issuer

Updated on 01 June, 2026

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.

Follow this guide to delete an OIDC issuer using the Vultr API or Terraform.

  • Vultr API
  • Terraform
  1. Send a GET request to the List OIDC Issuers endpoint to retrieve all issuers.

    console
    $ 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.

  2. Send a DELETE request to the Delete OIDC Issuer endpoint. Replace {issuer-id} with the issuer id.

    console
    $ 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.

  3. Send a GET request to the List OIDC Issuers endpoint to retrieve all issuers.

    console
    $ 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.

  1. Ensure the Vultr Terraform provider is configured in your Terraform project.

  2. Destroy the OIDC issuer resource. Replace my_issuer with the resource label used in your configuration.

    console
    $ terraform destroy -target=vultr_oidc_issuer.my_issuer
    

    Alternatively, remove the vultr_oidc_issuer block from your configuration and run:

    console
    $ terraform apply
    

    Verify that the output shows vultr_oidc_issuer.my_issuer: Destruction complete.

Comments