POST
/
v1
/
projects
/
{id}
/
domains
/
{name}
curl --request POST \
  --url https://api.edgee.app/v1/projects/{id}/domains/{name} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dns_status": true,
  "ssl_status": true
}'
{
  "object": "domain",
  "name": "<string>",
  "project_id": "<string>",
  "dns_status": true,
  "ssl_status": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here

Path Parameters

id
string
required
name
string
required

Body

application/json

Response

200
application/json

The updated Domain

A Domain is a hostname that you can use to access your project. Each domain belongs to a project.