Nimbu Developer Docs
ReferenceDomains

Mark a domain as primary

POST
/domains/{id}/make_primary

Promotes the given custom domain to be the primary domain for the site.

Authorization

AuthorizationBearer <token>

Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.

In: header

X-Nimbu-Site<token>

Identifier of the site context when authenticating with a personal access token.

In: header

Path Parameters

id*string

Domain identifier

Response Body

application/json

curl -X POST "https://example.com/domains/string/make_primary"
{
  "status": "string",
  "domain": "string",
  "primary": true
}
Empty