---
title: "POST /api/rpc/updateSiteSetInactive"
method: POST
path: "/api/rpc/updateSiteSetInactive"
tags: ["sites"]
---

# POST /api/rpc/updateSiteSetInactive

`POST /api/rpc/updateSiteSetInactive`

## Request

- Base URL: `https://21risk.com`
- URL: `https://21risk.com/api/rpc/updateSiteSetInactive`
- Auth: OAuth 2 (client credentials, token URL `/api/v1/oauth/token`)

Set a site to inactive. Sites must be set to inactive before they can be permanently deleted.

## Request body

- object
  - `tenant` unknown, required
  - `_id` string, required: The id of the site to delete

## Response `200`

Successful response

---

[API](https://skmtc.dev/21risk/apis/21risk-api.md) · [All operations](https://skmtc.dev/21risk/apis/21risk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/21risk/apis/21risk-api/revisions/273a727dfd49?raw)
