Skip to main content
GET
/
v1
/
projects
/
{name}
/
disks
/
{dname}
/
ftp
Get ftps
curl --request GET \
  --url https://api.iran.liara.ir/v1/projects/{name}/disks/{dname}/ftp \
  --header 'Authorization: <api-key>'
{
  "accesses": [
    {
      "_id": "<string>",
      "disk": "<string>",
      "username": "<string>",
      "password": "<string>",
      "readOnly": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "__v": 123
    }
  ],
  "host": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

name
string
required

The name of your app

dname
string
required

The name of your disk

Response

Successful operation

accesses
object[]
host
string