Skip to main content
POST
Add Custom Domain

Authorizations

Authorization
string
header
required

Your account API token, sent as Authorization: Bearer <api_token>. Owners and admins can read the token from the LocalOps console.

Path Parameters

envId
string<uuid>
required

The unique identifier of the environment

serviceId
string<uuid>
required

The unique identifier of the service

Body

application/json
domain
string
required

The fully qualified domain name to attach to this service

Response

Custom domain registered, with the DNS records to create

message
string
data
object