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

# Control admission

> Manage who can deploy to a subnet and who can provide capacity.

Subnet admission has two types:

* `developer`: accounts that may submit workloads.
* `provider`: fleets or nodes that may join as capacity.

## 1. Review current admission

```bash theme={null}
idyl subnet admission get --subnet <subnet>
```

## 2. Require approval for developers

```bash theme={null}
idyl subnet admission set --subnet <subnet> --admission-type developer --mode approval
```

## 3. Grant developer admission

```bash theme={null}
idyl subnet admission grant --subnet <subnet> --developer-account <account-id>
```

## 4. Require approval for providers

```bash theme={null}
idyl subnet admission set --subnet <subnet> --admission-type provider --mode approval
```

## 5. Grant provider fleet admission

```bash theme={null}
idyl subnet admission grant --subnet <subnet> --provider-fleet <fleet-id>
```

Grant a specific node instead:

```bash theme={null}
idyl subnet admission grant --subnet <subnet> --provider-node <node-id>
```

## 6. Revoke a grant

Find the grant ID:

```bash theme={null}
idyl subnet admission get --subnet <subnet>
```

Revoke it:

```bash theme={null}
idyl subnet admission revoke --subnet <subnet> --grant <grant-id>
```
