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
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
Example response
{
"cloud": "amazon",
"name": "mybucket"
}