PUT/api/v1/workspaces/{workspace_id}/domains/{domain_id}/primary

Set 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 it

Path parameters

#
  • workspace_idstringRequired

    The workspace's id, from the address of its settings page (markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.

  • domain_idstringRequired

    The domain's id, from List domains.

Responses

#
  • 204No content.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?