curl --request POST \
--url https://storage-service.iran.liara.ir/api/v1/buckets \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"plan": "<string>",
"permission": "<string>"
}
'{
"status": "<string>"
}creates a new bucket on an object storage
curl --request POST \
--url https://storage-service.iran.liara.ir/api/v1/buckets \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"plan": "<string>",
"permission": "<string>"
}
'{
"status": "<string>"
}Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #
create bucket. Acceptable values for permission: ( private / public ) and for plan: ( 20g, 40g, 80g, 160g )
successful operation