MonitorsDomain expiry monitoring
Update Customer Domain
Updates a customer domain (e.g. label, status, expiry thresholds).
PATCH /api/customer-domains/:customerDomainPublicId
Notes:
- Global supporters cannot update customer domains. A readonly or customer-scoped login may update its own
self_servicedomains; amanageddomain stays locked unless the organization grantedcanEditManaged. - The domain name is fixed at creation and cannot be changed here. The endpoint therefore does not re-check whether the TLD supports RDAP expiry lookups (it did until 06.09.2026): a stored domain on a TLD without RDAP can still be relabelled, given other thresholds and, above all, disabled.
- Activating a disabled domain can be denied when quota limits are reached.
Request Body
{
"label": "Main Domain",
"status": "active",
"expiryWarningDays": 30,
"expiryErrorDays": 7
}Example (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"
curl -X PATCH "$BASE_URL/api/customer-domains/22222222-2222-4222-8222-222222222222" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"status":"active"}'Response
Returns the updated customer domain record.
Common errors
400body validation errors (e.g. invalid thresholds)400 Invalid Domain identifierwhen:customerDomainPublicIdis neither a valid UUID nor a legacy numeric ID401 Unauthorizedwhen you are not logged in403 Forbiddenfor global supporters, for amanageddomain withoutcanEditManaged, or when you cannot access the domain/customer403 Active domain limit reached...when activating would exceed your quota404 Domain not foundwhen the domain does not exist