Domains
Change how a domain behaves
Select this domain as primary, restore the managed default hostname, answer this hostname with a whole-host redirect, or pass hostname to swap which half of an apex/www pair serves the Space.
patch/v1/spaces/{spaceId}/domains/{domainId}
Request
- Base URL: https://api.spacefast.com
- URL: https://api.spacefast.com/v1/spaces/{spaceId}/domains/{domainId}
- Auth: one of:
- HTTP bearer
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.spacefast.com/v1/auth/oauth2/authorize, token URL https://api.spacefast.com/v1/auth/oauth2/token; client credentials, token URL https://api.spacefast.com/v1/auth/oauth2/token, scopes: domains:write)
Path parameters
spaceIdstring required
domainIdstring required
Request body
Response
Response for status 200
Changes
No recorded changes to this operation across all 1 revision of this API.