Skip to main content
GET
/
v1
/
databases
Get all databases
curl --request GET \
  --url https://api.iran.liara.ir/v1/databases \
  --header 'Authorization: <api-key>'
{
  "databases": [
    {
      "DBId": "<string>",
      "type": "<string>",
      "planID": "<string>",
      "status": "<string>",
      "scale": 123,
      "hostname": "<string>",
      "publicNetwork": true,
      "created_at": "<string>",
      "internalPort": 123,
      "id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

Successful operation

databases
object[]