PUT
/api/v1/workspaces/{workspace_id}/domains/{domain_id}/primarySet the primary domain
Chooses the domain the workspace's links and previews use. Admins and the owner.
API token required20 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
#204No content.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.