---
title: "Verify access prior to creating a storage"
method: POST
path: "/v1/storages/verifications/access/"
---

# Verify access prior to creating a storage

`POST /v1/storages/verifications/access/`

## Request

- Base URL: `https://app.iconik.io/API/files`
- URL: `https://app.iconik.io/API/files/v1/storages/verifications/access/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-files/docs/v1/storages/verifications/access/post.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_read_storages

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Request body

- StorageAccessSchema
  - `method` 'FILE' | 'HTTP' | 'FTP' | 'SFTP' | 'S3' | 'B2' | 'GCS' | 'PORTAL' | 'CUSTOM' | 'AZURE' | 'DROPBOX', required
  - `settings` object, required

## Response `200`

Returns a document describing storage access

- object
  - `access_check` boolean
  - `error_message` string

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `501`: Not implemented
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-files.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-files/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-files/revisions/ed57d13791a2?raw)
