Storages

Create storage

Create new storage.

post/storages

Request

  • Base URL
    https://localhost:8446/api/v2
  • Auth
    API key in header Authorization

Request body

namestring required

Storage name

descriptionstring required

Storage description

typestring required

Storage type

configobject required

Config for storage

config.auth_typestring required

Authorization type

config.access_idstring required

Access key

config.access_secretstring required

Secret key

config.bucketstring

Bucket

config.regionstring required

Region

idnumber required

Storage id

config.endpointstring required

Endpoint

config.keystring required

Key. Applicable if auth_type is key

config.sas_tokenstring required

SAS token. Applicable if auth_type is sas

config.accountstring required

Account

config.containerstring

Container

config.projectstring required

Project

config.client_idstring required

Application ID

config.client_secretstring required

Application secret

config.rootstring required

Root

config.drivestring

Drive

config.namespacestring required

Namespace

Response

Successful response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.