Update storage bucket

Update storage bucket

Updates storage bucket details. This only updates fields that were set in the request body.

POSThttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/buckets/{bucketId}
Path parameters
organizationId*integer

Organization ID

bucketId*integer

Bucket ID

Body
accessKeystring

S3 access key

secretKeystring

S3 secret key

endpointstring

S3 endpoint

bucketstring

S3 bucket

regionstring

S3 region

checkConnectivityPrefixstring

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

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/buckets/{bucketId}', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated