---
title: "Site"
method: PUT
path: "/api/3/sites/{id}"
tags: ["Site"]
---

# Site

`PUT /api/3/sites/{id}`

Updates the configuration of the site with the specified identifier.

## Path parameters

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

## Request body

- SiteUpdateResource — Resource for updating a site configuration.
  - `description` string — The site's description.
  - `engineId` integer, required — The identifier of a scan engine.
  - `importance` 'very_low' | 'low' | 'normal' | 'high' | 'very_high', required — The site importance.
  - `links` Link[], required — Hypermedia links to corresponding or related resources.
    - `deprecation` string
    - `href` string — A hypertext reference, which is either a URI (see <a target="_blank" rel="noopener noreferrer" href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>) or URI template (see <a target="_blank" rel="noopener noreferrer" href="https://tools.ietf.org/html/rfc6570">RFC 6570</a>).
    - `hreflang` string
    - `media` string
    - `rel` string — The link relation type. This value is one from the <a target="_blank" rel="noopener noreferrer" href="https://tools.ietf.org/html/rfc5988#section-6.2">Link Relation Type Registry</a> or is the type of resource being linked to.
    - `title` string
    - `type` string
  - `name` string, required — The site name. Name must be unique.
  - `scanTemplateId` string, required — The identifier of a scan template.

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `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)
