Skip to main content
POST
/
applications
/
v1
/
projects
/
{id}
/
domains
Add domain
curl --request POST \
  --url https://api.case.dev/applications/v1/projects/{id}/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "<string>",
  "gitBranch": "<string>"
}
'

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Project ID

Body

application/json
domain
string
required

Domain name to add

gitBranch
string

Git branch to associate with this domain

Response

Success