Actions22
- Server Actions
- Volume Actions
- Image Actions
- Snapshot Actions
Server → List Attached Volumes
AI-generatedSummary
List volumes attached to a server
Inputs
- datacenterId (required) — The ID of the datacenter
- serverId (required) — The ID of the server
- returnAll — Whether to return all results or only up to a given limit
- limit — Max number of results to return
- depth — Detail depth of the response (0-10)
Output shape
an array of attached volume objects
Pagination is controlled by returnAll and limit; optional depth query parameter can adjust response detail.
Examples
Example 1: List volumes attached to a specific server
datacenterId = 15f67991-0f51-4efc-a8ad-ef1fb31a480c, serverId = 15f67991-0f51-4efc-a8ad-ef1fb31a480c, limit = 100, returnAll = false
Example 2: List all attached volumes with full detail
datacenterId = 15f67991-0f51-4efc-a8ad-ef1fb31a480c, serverId = 15f67991-0f51-4efc-a8ad-ef1fb31a480c, returnAll = true, depth = 5