cURL
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" }
Updates an existing Domain.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here
Bearer <token>
<token>
The updated Domain
A Domain is a hostname that you can use to access your project. Each domain belongs to a project.
Was this page helpful?