---
title: "Site Access"
method: DELETE
path: "/api/3/users/{id}/sites/{siteId}"
tags: ["User"]
---

# Site Access

`DELETE /api/3/users/{id}/sites/{siteId}`

Grants the user access to the site. Individual site access cannot be granted to users with the `allSites` permission. <br>**Privileges:** Global Administrator

## Path parameters

- `id` integer, required — The identifier of the user.
- `siteId` integer, required — The identifier of the site.

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/rapid7/apis/rapid7-vm-api.md) · [All operations](https://skmtc.net/rapid7/apis/rapid7-vm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapid7/rapid7-vm-api/versions/3a8197c22d71/schema)
