Python
File Shares
Create file share access rule
POST
Python
Documentation Index
Fetch the complete documentation index at: https://gcore-doc-1046.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
Example:
1
Region ID
Example:
1
File Share ID
Example:
"bd8c47ee-e565-4e26-8840-b537e6827b08"
Body
application/json
Response
200 - application/json
OK
Access mode
Available options:
ro, rw Example:
"ro"
Source IP or network
Example:
"192.168.1.1"
Access Rule ID
Example:
"4f09d7dd-f1f8-4352-b015-741b2192db47"
Access Rule state
Available options:
active, applying, denying, error, new, queued_to_apply, queued_to_deny Example:
"active"