---
title: "Get storage by id"
method: GET
path: "/storages/{id}"
tags: ["Storages"]
---

# Get storage by id

`GET /storages/{id}`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/storages/{id}`
- Auth: API key in header `Authorization`

Get storage. If user have not manage storage permissions, storage will be without 'config' field.

## Path parameters

- `id` number, required

## Response `200`

Successful response

- object
  - `id` number, required: Storage id
  - `name` string, required: Storage name
  - `description` string, required: Storage description
  - `type` string, required: Storage type
  - `config` object: Config for storage. Includes only for users with manage storage permissions.
  - `config.auth_type` string, required: Authorization type
  - `config.access_id` string, required: Access key
  - `config.access_secret` string: Secret key
  - `config.bucket` string, required: Bucket
  - `config.region` string, required: Region
  - `config.endpoint` string, required: Endpoint
  - `config.key` string: Key. Applicable if auth_type is key
  - `config.sas_token` string: SAS token. Applicable if auth_type is sas
  - `config.account` string, required: Account
  - `config.container` string, required: Container
  - `config.project` string, required: Project
  - `config.client_id` string, required: Application ID
  - `config.client_secret` string: Application secret
  - `config.root` string, required: Root
  - `config.drive` string, required: Drive
  - `config.namespace` string, required: Namespace

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

[API](https://skmtc.dev/resilio/apis/resilio-api.md) - [All operations](https://skmtc.dev/resilio/apis/resilio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/resilio/apis/resilio-api/revisions/ca39130a395e?raw)
