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

# Resource Restrictions

> Manage resource restrictions with the AX CLI

<Note>
  The `ax resource-restrictions` commands are currently in **ALPHA**. The API may change without notice. A one-time warning is emitted on first use.
</Note>

The `ax resource-restrictions` commands let you restrict and unrestrict resources on the Arize platform. Restricting a resource prevents roles bound at higher hierarchy levels (space, org, account) from granting access to it. Currently only PROJECT resources are supported.

## `ax resource-restrictions restrict`

Restrict a resource. This operation is idempotent.

```bash theme={null}
ax resource-restrictions restrict --resource-id <id>
```

| Option          | Description                           |
| --------------- | ------------------------------------- |
| `--resource-id` | Global ID of the resource to restrict |

**Example:**

```bash theme={null}
ax resource-restrictions restrict --resource-id proj_abc123
```

## `ax resource-restrictions unrestrict`

Remove restriction from a resource. Removing a restriction means that roles bound at other levels of the hierarchy (space, org, account) can once again grant access to the resource.

```bash theme={null}
ax resource-restrictions unrestrict --resource-id <id> [--force]
```

| Option          | Description                             |
| --------------- | --------------------------------------- |
| `--resource-id` | Global ID of the resource to unrestrict |
| `--force`       | Skip the confirmation prompt            |

**Example:**

```bash theme={null}
ax resource-restrictions unrestrict --resource-id proj_abc123 --force
```
