Skip to main content
PUT
/
storage
/
bucket
Create Bucket
curl --request PUT \
  --url https://api.tenbytecloud.com/v1/storage/bucket \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'apikey: <api-key>' \
  --data 'name=<string>'
{
  "name": "pang1",
  "size_bytes": 0,
  "billing_account_id": 129093,
  "num_objects": 0
}

Authorizations

apikey
string
header
required

Body

application/x-www-form-urlencoded
name
string
required

Bucket name, must conform to S3 bucket naming rules

billing_account_id
integer

Required if using a global API token

Response

200 - application/json

Created bucket

The response is of type object.