Change Website Status
PATCH /api/websites/:websitePublicId (status)
Change Website Status
PATCH /api/websites/:websitePublicId
Changes the monitoring status of a website.
There is no dedicated .../status endpoint — status changes are part of PATCH /api/websites/:websitePublicId.
Example (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"
curl -X PATCH "$BASE_URL/api/websites/9a3d4d4d-7a4b-4f37-a9df-2a6f6d9d7a10" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"status": "maintenance"
}'
Request Body
{
"status": "active"
}
Allowed values:
activeinactive(you may also sendpaused, it will be mapped toinactive)maintenance
Response
Returns the updated website record.
Common errors
401 Unauthorizedwhen you are not logged in403 Forbiddenwhen you cannot write to the website403 Active website limit reached...when switching toactivewould exceed the customer/package limit