> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List resources and actions

> Find resource and action names used in workspace access rules.

API referenceApplies to: Workspaces with access management

`GET /api/v1/authz/resources-actions`

Find resource and action names used in workspace access rules.

## Access

Use a workspace credential.

[Choose the right workspace credential](https://docs.e6data.com/api-reference/authentication.md). Ask your workspace administrator whether this API is available in your workspace.

For this example, set `ACCESS_TOKEN` to a user's [personal access token (PAT)](https://docs.e6data.com/platform/tokens/create-rotate-revoke.md#personal-access-tokens). Machine-client OAuth tokens cannot call this endpoint.

## Request

No request body. The response contains every available resource with its supported actions. The example shows one entry from the list.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl --proto '=https' --silent --show-error --fail-with-body \
  --request GET \
  --header @- \
  "$WORKSPACE_URL/api/v1/authz/resources-actions" <<< "Authorization: Bearer $ACCESS_TOKEN"
```

## Response

HTTP `200`. Example response showing one resource from a larger list:

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "resources": [
    {
      "name": "groups",
      "displayName": "Groups",
      "description": "User groups",
      "actions": [
        {
          "name": "list",
          "displayName": "List",
          "description": "List resources"
        }
      ]
    }
  ]
}
```

## If the request fails

For `401`, check the workspace URL and token. For `403`, ask your administrator to check access to this API.

[Return to the API endpoint directory](https://docs.e6data.com/api-reference/endpoints.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.