v1

latestOpenAPI 3.0.0Apache 2.02026-07-17143274803.9 KB
storage

Creates a new object store bucket with the given params

Creates a new object store bucket on the Cloud provider referenced by the given secret. The credentials for creating the bucket is taken from the provided secret.

post/api/v1/orgs/{orgId}/buckets

Path parameters

orgIdinteger required

Organization identifier

Request body

secretIdstring
secretNamestring
namestring required

Example request

{
  "secretName": "my-aws-secret",
  "name": "mybucket",
  "secretId": "secretId",
  "properties": {
    "amazon": {
      "location": "eu-west-1"
    },
    "google": {
      "location": "europe"
    },
    "azure": {
      "resourceGroup": "resourceGroup",
      "location": "westeurope",
      "storageAccount": "mystorageaccount"
    }
  }
}

Response

Storage bucket creation request accepted

namestring required
cloud'amazon' | 'azure' | 'google' required

Example response

{
  "cloud": "amazon",
  "name": "mybucket"
}