curl --request POST \
--url https://api.iran.liara.ir/v1/projects/{name}/disks/{dname}/ftp \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"readOnly": true
}
'{
"username": "<string>",
"password": "<string>",
"host": "<string>"
}create ftp that user owns
curl --request POST \
--url https://api.iran.liara.ir/v1/projects/{name}/disks/{dname}/ftp \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"readOnly": true
}
'{
"username": "<string>",
"password": "<string>",
"host": "<string>"
}Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #