Skip to main content
GET
/
v1
/
domains
Get all domains
curl --request GET \
  --url https://api.iran.liara.ir/v1/domains \
  --header 'Authorization: <api-key>'
{
  "domains": [
    {
      "_id": "<string>",
      "name": "<string>",
      "type": "<string>",
      "project": {
        "_id": "<string>",
        "project_id": "<string>"
      },
      "status": "<string>",
      "certificatesStatus": "<string>",
      "redirectTo": "<string>",
      "redirectStatus": 123,
      "created_at": "<string>",
      "CNameRecord": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

project
string
required

The name of your app

Response

Successful operation

domains
object[]