Domains

Set the site of a domain

Puts one of the project's sites on the domain and on www, or removes it with null.

put/domains/{id}/site

Request

  • Base URL: https://api.hypamoon.com/api/v1
  • URL: https://api.hypamoon.com/api/v1/domains/{id}/site
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.hypamoon.com/oauth/authorize, token URL https://api.hypamoon.com/oauth/token, scopes: sites:write)

Path parameters

idstring uuid required

The id of the domain.

Request body

site_idstring uuid nullable required

The site to serve on the domain, or null for none.

Response

The domain.

Changes

No recorded changes to this operation across all 1 revision of this API.