Domains
Update Domain
Reassigns a domain to another app in the same account or replaces its metadata. The hostname and owning account cannot be edited.
patch/domains/{id}
Request body
Example request
{
"metadata": {
"project": "storefront"
}
}Response
Domain updated
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"app_id": "app_xxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"dns_records": [
{
"name": "_whop.shop.example.com",
"type": "TXT",
"value": "whop-domain-verification=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
],
"dns_status": "pending",
"domain": "shop.example.com",
"id": "dom_xxxxxxxxxxxxxx",
"issues": [
{
"code": "dns_required",
"message": "Point DNS to Whop using the routing records. Disable other CDN proxies while connecting."
}
],
"metadata": {},
"status": "deleting",
"updated_at": "2026-01-01T12:00:00.000Z",
"verification_expires_at": "2026-01-01T12:00:00.000Z"
}