curl --request POST \
--url https://api.iran.liara.ir/v1/domains \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"project": "<string>",
"type": "PROJECT"
}
'{
"domain": {
"_id": "<string>"
}
}create a domain that user owns
curl --request POST \
--url https://api.iran.liara.ir/v1/domains \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"project": "<string>",
"type": "PROJECT"
}
'{
"domain": {
"_id": "<string>"
}
}