cURL
curl --request POST \ --url https://api.edgee.app/v1/projects/{id}/domains \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>" }'
{ "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" }
Creates a new Domain of a project.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here
Bearer <token>
<token>
The created Domain
A Domain is a hostname that you can use to access your project. Each domain belongs to a project.
Was this page helpful?