PUT domains/{id}
Update an existing domain.
Synopsis
PUT https://once.to/api/public/v1/domain/id
Payload
JSON object of type Domain. Only the following properties are taken into account:
name— must be the same DNS name domain already has. Domain name cannot be changed.description— Optional remarks for the domain.rootRedirUrl— Optional URL to redirect to from the root. If not given, will redirect the user to once.to.notFoundRedirUrl— Optional URL to redirect to when the requested slug is not found. If not given, will redirect to once.to’s 404 page.default— Whether to make the domain default. Iftrue, will un-default any other domain currently set to default.
Response
JSON object of type Domain.
