POST
/api/v1/workspaces/{workspace_id}/domains/{domain_id}/detachTake a domain offline
Stops serving a domain without losing its verification, so you can turn it back on later.
API token required30 per minute per IP
Code samples and Try itPath parameters
#workspace_idstringRequiredThe workspace's id, from the address of its settings page (
markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.domain_idstringRequiredThe domain's id, from List domains.
Responses
#200OK.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.
200 response: 26 fields (DomainResponse)
idstringhoststringkind"app" | "cdn"status"pending" | "verified" | "failed" | "lapsed"created_atstring (date-time)ISO 8601, for example
2026-11-30T12:00:00Z.verified_atstring (date-time) | nullISO 8601, for example
2026-11-30T12:00:00Z.last_checked_atstring (date-time) | nullISO 8601, for example
2026-11-30T12:00:00Z.last_errorstring | nullattachedbooleanDefault
false.is_primarybooleanDefault
false.dns_record_namestring | nulldns_record_typestring | nullDefault
"TXT".dns_record_valuestring | nulldns_target_namestring | nulldns_target_typestring | nulldns_target_valuestring | nullwarningstring | nulllivebooleanDefault
false.routing_okboolean | nulltxt_okboolean | nullfailuresintegerDefault
0.first_failed_atstring (date-time) | nullISO 8601, for example
2026-11-30T12:00:00Z.lapsed_atstring (date-time) | nullISO 8601, for example
2026-11-30T12:00:00Z.expires_atstring (date-time) | nullISO 8601, for example
2026-11-30T12:00:00Z.apex_certainboolean | nullDefault
true.dns_routing_optionsarray of object3 fields inside
typestringnamestringvaluestring