Switch Dedicated NFS / File Storage
→ Request
← Response
Response Parameters
Example Response
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
To switch between Dedicated NFS storage and standard file storage for a specified data center.
POST /api/v1/dev/exclusive_nfs/mount
| Parameter | Type | Description |
|---|---|---|
| data_center | String | Target region code. Refer to the appendix of the Elastic Deployment API documentation for available values. |
| mountable | Int | Set to 1 to mount Dedicated NFS (this will disable normal file storage). Set to -1 to disable Dedicated NFS and switch back to standard file storage. |
| Parameter | Type | Description |
|---|---|---|
| code | String | Response code. Returns Success on success. |
| msg | String | Error message. Empty when the request is successful. |
{
"code": "Success",
"msg": ""
}
import requests
headers = {
"Authorization": "YOUR_TOKEN"
}
body = {
"data_center": "westDC2",
"mountable": 1
}
url = "https://api.gpuhub.com/api/v1/dev/exclusive_nfs/mount"
response = requests.post(url, json=body, headers=headers)
print(response.content.decode())