Add a domain
Adds a domain to an app or a bucket. It’s ACTIVE right away if its root domain is already active on your account or is a zone in Liara DNS; otherwise it’s PENDING until you verify it. The number of domains per app depends on the app’s bundle plan, and wildcard domains need a bundle plan with unlimited domains. Your account must be verified. With teamID, you need operate or manage on the app or bucket.
Authorizations
Send your API token as Authorization: Bearer <api-token>.
Query Parameters
Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.
^[0-9a-fA-F]{24}$Body
The domain, for example www.example.com, or *.example.com for a wildcard domain.
PROJECT for an app's domain, BUCKET for an object storage bucket's domain.
PROJECT, BUCKET The app's name. Required when type is PROJECT.
The bucket's name. Required when type is BUCKET.
Set automatically when name starts with *.. Only for apps.
Response
The domain was added.
