How to List Policies Attached to a Role

Updated on 08 April, 2026

List all policies attached to a specific IAM role on Vultr. Review the permission rules that users and groups inherit when assigned to this role via the API.


Listing the policies attached to a role allows you to review the permission rules that define what users and groups assigned to the role can do. This is useful for auditing access configurations and understanding the scope of a role's permissions.

This guide explains how to list policies attached to a role using the Vultr Console and the Vultr API.

  • Vultr Console
  • Vultr API
  1. Log in to the Vultr Console.

  2. Click the organization name in the top navigation bar.

  3. Click Manage Organization.

  4. Click the Roles tab.

  5. Click the name of the role you want to inspect.

  6. Expand the Permission Policies section.

    The table displays all policies attached to this role, including their name, type, and description.

  1. Send a GET request to the List Roles endpoint to retrieve all roles in your organization.

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

    Note the id of the role for which you want to list policies.

  2. Send a GET request to the List Policies Attached to Role endpoint to retrieve all policies attached to the role. Replace {role-id} with the id of the role.

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

    The response contains the requested resources.

Comments