Sites
Delete site
Deletes an existing site. Returns an Operation object that can be polled to track the deletion progress.
delete/sites/{siteId}
Request
- Base URLhttps://api.8x8.com/admin-provisioning
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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.