Update a domain

Makes the domain the workspace default, or changes its cloaking settings.
PATCHhttps://api.clicklookup.com/v1/domains/{domain_id}

Requires an API key

Path parameters1

  • domain_idstring · uuidrequired

Request body3

  • cloakbooleannullable
  • isDefaultbooleannullable
  • recordTypeenumnullable
    One ofcnamea

Response · 20013

  • cloakbooleanrequired

    Serve cloak meta tags on this domain

  • createdAtstring · date-timerequired

    ISO-8601 timestamp with offset

  • hostnamestringrequired

    Lower-case hostname, e.g. go.example.com

    4–253 chars
  • idstring · uuidrequired

    UUID primary key

  • isDefaultbooleanrequired

    New links in this workspace use it unless told otherwise

  • kindenumrequired

    Ours to run, or the customer's own domain

    One ofmanagedcustom
  • lastCheckedAtstring · date-timerequired
  • lastErrorstringrequired
    max 300 chars
  • recordTypeenumrequired

    The DNS record the customer points at the edge

    One ofcnamea
  • statusenumrequired

    Lifecycle state.

    One ofpendingverifiedfailed
  • verificationTokenstringrequired

    Expected in the _clicklookup TXT record

    32–32 chars
  • verifiedAtstring · date-timerequired
  • workspaceIdstring · uuidrequired

    UUID primary key