Unifi icon

Unifi

Interact with Unifi API

Site → Delete Site

AI-generated

Summary

Delete a specified Unifi site by its Site ID.

Inputs

  • Site ID (required) — The unique identifier (_id) of the site to delete; obtained from the "_id" field in the response from the "Get Sites" operation.

Output shape

a single JSON object representing the API response to the delete operation

The output contains the server's response to the delete request. Authentication is required via Unifi API credentials. Errors related to authentication or permissions will be thrown as node errors.

Examples

Example 1: Delete a site with a known Site ID

Provide the Site ID corresponding to the site to be deleted in the Site ID parameter.

Discussion