---
title: "Returns the volumes"
method: GET
path: "/organizations/{organization_id}/accounts/{account_id}/volumes"
tags: ["Volumes"]
---

# Returns the volumes

`GET /organizations/{organization_id}/accounts/{account_id}/volumes`

## Request

- Base URL: `https://api.cloudranger.com/202004`
- URL: `https://api.cloudranger.com/202004/organizations/{organization_id}/accounts/{account_id}/volumes`
- Auth: API key in header `Authorization` and API key in header `x-api-key`

Returns the volumes of the servers associated to an account

## Path parameters

- `organization_id` string, required
- `account_id` string, required

## Response `200`

200 response

- GetOrganizationsAccountsVolumesResponse
  - `hits` object
    - `_id` string
    - `_index` string
    - `_routing` string
    - `_score` integer
    - `_source` object
      - `__AccountId` string
      - `__OrganizationId` string
      - `Attachments` object[]
        - `AttachTime` string, date-time
        - `DeleteOnTermination` boolean
        - `Device` string
        - `InstanceId` string
        - `State` string
        - `VolumeId` string
      - `AvailabilityZone` string
      - `CreateTime` string, date-time
      - `Encrypted` boolean
      - `Id` string
      - `Iops` integer
      - `ObjectType` string
      - `postDate` string, date-time
      - `Region` string
      - `Size` integer
      - `SnapshotId` string
      - `Source` string
      - `State` string
      - `Tags` object[]
        - `Key` string
        - `Value` string
      - `TagStrings` object[]
        - `Combined` string
      - `Type` string
      - `VolumeId` string
      - `VolumeType` string
    - `_type` string
  - `total` integer

## Other responses

- `201`: 201 response
- `401`: 401 response
- `403`: 403 response
- `404`: 404 response

---

[API](https://skmtc.dev/druva/apis/cloudranger.md) - [All operations](https://skmtc.dev/druva/apis/cloudranger/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/cloudranger/revisions/0b87602807da?raw)
