Skip to main content
POST
/
v1
/
projects
/
{id}
/
fixed-ip
/
{status}
IP static
curl --request POST \
  --url https://api.iran.liara.ir/v1/projects/{id}/fixed-ip/{status} \
  --header 'Authorization: <api-key>'
{
  "IP": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required
status
string
required

disable or enable

Response

Successful operation

IP
string