---
title: How to Delete a Role Trust
url: https://docs.vultr.com/platform/iam/roles/role-trusts/how-to-delete-a-role-trust
description: Delete a role trust from a Vultr IAM role. Remove the trust relationship to prevent specified users, groups, or issuers from assuming the role going forward.
publish_date: 2026-03-24T19:52:24.572098Z
last_updated: 2026-06-01T20:41:41.466788Z
---

Deleting a role trust removes the trust relationship, preventing the trusted entity from assuming the role. The role itself is not deleted. The trust can be restored using the Restore Role Trust endpoint if you have its `id`.

Follow this guide to delete a role trust using the Vultr API or Terraform.

=== "Vultr API"

    1. Send a `GET` request to the [**List Role Trusts** endpoint](https://www.vultr.com/api/#tag/iam/operation/list-iam-role-trusts) to retrieve all role trusts in your organization.

        ```console
        $ curl "https://api.vultr.com/v2/role-trusts" \
            -X GET \
            -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

        Note the `id` of the role trust you want to delete.

    1. Send a `DELETE` request to the [**Delete Role Trust** endpoint](https://www.vultr.com/api/#tag/iam/operation/delete-iam-role-trust) to delete the trust. Replace `{role-trust-id}` with the id of the role trust you want to delete.

        ```console
        $ curl "https://api.vultr.com/v2/role-trusts/{role-trust-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 Role Trusts** endpoint](https://www.vultr.com/api/#tag/iam/operation/list-iam-role-trusts) to retrieve all role trusts.

        ```console
        $ curl "https://api.vultr.com/v2/role-trusts" \
            -X GET \
            -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

        Verify that the deleted trust 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 role trust resource. Replace `my_role_trust` with the resource label used in your configuration.

        ```console
        $ terraform destroy -target=vultr_organization_role_trust.my_role_trust
        ```

        Alternatively, remove the `vultr_organization_role_trust` block from your configuration and run:

        ```console
        $ terraform apply
        ```

        Verify that the output shows `vultr_organization_role_trust.my_role_trust: Destruction complete`.