Sites

Delete site

Deletes an existing site. Returns an Operation object that can be polled to track the deletion progress.

delete/sites/{siteId}

Request

Path parameters

siteIdstring required
Example:0023OEZiR7qQ_EGb6xYjgg

Site identifier

Headers

X-Request-Idstring uuid

Optional request identifier for tracking

Response

Site deletion operation initiated successfully

operationIdstring nullable

Unique identifier for the operation

status'PENDING' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'UNKNOWN' nullable

Current status of the operation

customerIdstring nullable

Customer ID associated with the operation

resourceType'USER' | 'RING_GROUP' | 'SITE' nullable

Type of resource being operated on

resourceIdstring nullable

ID of the resource being operated on

operationType'CREATE' | 'UPDATE' | 'DELETE' nullable

Type of operation being performed

createdTimestring date-time nullable

Timestamp when the operation was created

completedTimestring date-time nullable

Timestamp when the operation completed

Example response

{
  "operationId": "op_123456789",
  "status": "PENDING",
  "customerId": "0012J00042NkZQIQA3",
  "resourceType": "SITE",
  "resourceId": "0023OEZiR7qQ_EGb6xYjgg",
  "operationType": "DELETE",
  "createdTime": "2025-01-01T01:02:03Z",
  "completedTime": "2025-01-01T01:05:03Z",
  "error": {
    "status": 404,
    "time": "2025-01-01T01:02:03Z",
    "title": "Site not found",
    "errors": [
      {
        "code": "VALIDATION_ERROR",
        "message": "Site not found"
      }
    ]
  },
  "_links": {
    "self": {
      "href": "https://api.8x8.com/admin-provisioning/sites?pageSize=100&pageNumber=0"
    },
    "resource": {
      "href": "https://api.8x8.com/admin-provisioning/sites?pageSize=100&pageNumber=0"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.