---
title: How to Delete an OIDC Issuer
url: https://docs.vultr.com/platform/iam/oidc/oidc-issuers/how-to-delete-an-oidc-issuer
description: Delete an OIDC issuer from your Vultr IAM configuration. Remove the trusted issuer to prevent further federated authentication through that identity provider.
publish_date: 2026-03-24T19:52:49.056270Z
last_updated: 2026-06-01T20:41:52.157972Z
---

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"

    1. Send a `GET` request to the [**List OIDC Issuers** endpoint](https://www.vultr.com/api/#tag/oidc/operation/list-oidc-issuers) 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.

    1. Send a `DELETE` request to the [**Delete OIDC Issuer** endpoint](https://www.vultr.com/api/#tag/oidc/operation/delete-oidc-issuer). 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.

    1. Send a `GET` request to the [**List OIDC Issuers** endpoint](https://www.vultr.com/api/#tag/oidc/operation/list-oidc-issuers) 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.

=== "Terraform"

    1. Ensure the [Vultr Terraform provider](https://registry.terraform.io/providers/vultr/vultr/latest/docs) is configured in your Terraform project.

    1. 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`.