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:

  • active
  • inactive (you may also send paused, it will be mapped to inactive)
  • maintenance

Response

Returns the updated website record.

Common errors

  • 401 Unauthorized when you are not logged in
  • 403 Forbidden when you cannot write to the website
  • 403 Active website limit reached... when switching to active would exceed the customer/package limit