POST
/
api
/
organizations
/
{organizationId}
/
buckets
/
{bucketId}
Update storage bucket
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/buckets/{bucketId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "accessKey": "<string>",
  "secretKey": "<string>",
  "endpoint": "<string>",
  "bucket": "<string>",
  "region": "<string>",
  "checkConnectivityPrefix": "<string>",
  "storageAccountName": "my-storage-account"
}'
{
  "success": true,
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

bucketId
integer
required

Bucket ID

Body

application/json
accessKey
string

S3 access key

secretKey
string

S3 secret key

endpoint
string

S3 endpoint

bucket
string

S3 bucket

region
string

S3 region

checkConnectivityPrefix
string

Set this if you don't have access to the root of this bucket. Only used to verify connectivity to this bucket.

storageAccountName
string

The name of the storage account for Azure Blob Storage

Example:

"my-storage-account"

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

error
string

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