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

Authorizations

apikey
string
header
required

Body

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

Defines which bucket to modify

billing_account_id
integer
required

ID of a billing account

Response

200 - application/json

Updated bucket

The response is of type object.