POST
/
cloud
/
v1
/
file_shares
/
{project_id}
/
{region_id}
/
check_limits
curl --request POST \
  --url https://api.gcore.com/cloud/v1/file_shares/{project_id}/{region_id}/check_limits \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "size": 5
}'
{
  "sfs_count_limit": 10,
  "sfs_count_requested": 1,
  "sfs_count_usage": 1,
  "sfs_size_limit": 100,
  "sfs_size_requested": 50,
  "sfs_size_usage": 90
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

Examples:

1

region_id
integer
required

Region ID

Examples:

1

Body

application/json

Response

200 - application/json

OK

The response is of type object.