---
title: "Delete Site"
method: DELETE
path: "/plug/sites/{siteId}"
tags: ["Deletion", "Sites"]
---

# Delete Site

`DELETE /plug/sites/{siteId}`

Unlike Credential and File deletions, Site deletion does not delete any related entities, but it does remove references to the deleted Site on those related entities. For example, Meters assigned to the site will be unassigned when the Site is deleted. After completion, you can check the status of deletion by using the Deletion Log ID from the response body and call [this endpoint](https://docs.arcadia.com/reference/retrieve-deletion-log).

This endpoint supports [Sandbox Mode](https://docs.arcadia.com/docs/sandbox-testing).

## Path parameters

- `siteId` string, required

## Headers

- `Arcadia-Version` string, required

## Response `200`

OK

- PublicDeletionLogResource
  - `accountCount` integer, required — The number of accounts. Note: if this is 0, but the entity being deleted has associated accounts, those accounts will be unlinked from the deleted entity but remain in the system. This is because the accounts are associated with another file or credential that is not being deleted.
  - `createdAt` string, date-time, required — A timestamp indicating when the entity was created.
  - `createdBy` string, nullable, required — User or system responsible for creating the entity.
  - `deletionTargetId` string, required — The ID of the primary resource being deleted. May belong to an Account, Credential, File or Site.
  - `fileCount` integer, required — The total number of files that are requested to be deleted.
  - `id` string, required — A unique identifier for the entity.
  - `meterCount` integer, required — The total number of meters associated with the account.
  - `siteCount` integer, required — The total number of Sites.
  - `statementCount` integer, required — The total number of statements.
  - `status` 'REQUESTED' | 'SCHEDULED' | 'SUCCESS' | 'FAILURE', required — Status of the resource.

---

[API](https://skmtc.net/arcadia/apis/plug-api.md) · [All operations](https://skmtc.net/arcadia/apis/plug-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arcadia/plug-api/revisions/d00587742116/schema)
