Skip to main content
POST
/
api
/
organizations
/
{organizationId}
/
buckets
/
create
Create storage bucket
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/buckets/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "success": true,
  "id": 123,
  "bucket": "<string>",
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

Body

application/json
name
string
required

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

id
integer
required

Unique identifier of the created entity.

bucket
string
required

Newly created bucket name

error
string

Optional error description (set if 'success' was false)