# Access

> Who has a role in the tenant: the owner, the members, the invites and the VMs. https://shako.dev/docs/access-control.md has the roles.

## Endpoints

| Method | Path | Returns |
|---|---|---|
| `GET` | [`/v1/tenants/{tenant}/access`](https://shako.dev/api/access/list.md) | 200 with {"data": [...]}: a list of the access object. |
| `DELETE` | [`/v1/tenants/{tenant}/vms/{name}/access`](https://shako.dev/api/access/revoke-vm.md) | 200 with the names of the path and "deleted": true. |

## Objects

- [The access object](https://shako.dev/api/objects/access-view.md): An account or a VM with its role in the tenant.
