Skip to main content
POST
/
v1
/
domains
/
set-project
Set a domain for project
curl --request POST \
  --url https://api.iran.liara.ir/v1/domains/set-project \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domainID": "<string>",
  "projectID": "<string>"
}
'
This response has no body data.

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Body

application/json

The domain of your app

domainID
string
required
projectID
string
required

Response