POST /v2/nfs/{nfs_id}/actions
To execute an action (such as resize) on a specified NFS share,
send a POST request to /v2/nfs/{nfs_id}/actions. In the JSON body
to the request, set the type attribute to on of the supported action types:
| Action | Details |
|---|---|
resize | Resizes an NFS share. Set the size_gib attribute to a desired value in GiB |
snapshot | Takes a snapshot of an NFS share |
attach | Attaches an NFS share to a VPC. Set the vpc_id attribute to the desired VPC ID |
detach | Detaches an NFS share from a VPC. Set the vpc_id attribute to the desired VPC ID |
switch_performance_tier | Switches the performance tier of an NFS share. Set the performance_tier attribute to the desired tier (e.g., standard, high) |
Servers
- https://api.digitalocean.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
nfs_id |
String | Yes |
The unique ID of the NFS share |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.