Websites
Delete Website
Irrevocably removes a website and its monitoring history.
DELETE /api/websites/:websitePublicId
Example (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"
curl -X DELETE "$BASE_URL/api/websites/9a3d4d4d-7a4b-4f37-a9df-2a6f6d9d7a10" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/json"Response
{ "success": true }Common errors
400 Website public ID (UUID) requiredwhen:websitePublicIdis invalid401 Unauthorizedwhen you are not logged in500 Failed to delete websiteon server errors
Permissions
Closed to the readonly role. A read-only login deletes no monitor, whatever its ownership class,
and neither does an API token it issued: a token inherits the role of the user who created it.
Editing a self_service monitor stays open to that role.
A customer-scoped caller is bound by ownership class on top of that: a managed monitor is refused
with managed_by_organization unless its customer carries canEditManaged.