/v2/nfs/{nfs_id}/actionsTrigger an action on an NFS share
Triggers an action on an NFS share, such as resizing it, taking a snapshot, or changing its VPC attachment. Set type to a supported action and supply the corresponding values in params, such as size_gib for resize or vpc_id for attach and detach. A 201 response returns the submitted action object for tracking its status.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The action to perform on the NFS share, with any action-specific values in params.
A 401 is returned when authentication credentials are invalid. A 404 is returned when the NFS share cannot be found. A 429 indicates that the API rate limit has been exceeded, and a 500 indicates a server error. The nfs_id path parameter must identify an existing NFS share, and the request body must include type set to a supported action: resize, snapshot, attach, detach, reassign, or switch_performance_tier.