OrganizationData
Update storage bucket
Updates storage bucket details. This only updates fields that were set in the request body. Before updating the bucket details, it is required to verify the connection using the POST /api/organizations/{organizationId}/buckets/verify endpoint.
The verification process:
- Call the verify endpoint with the new bucket details.
- Poll the verify endpoint until it responds with connectionStatus: connected.
- If the endpoint responds with connectionStatus: error, the verification has failed.
Only proceed with updating the bucket details after receiving a connected status. The polling interval and timeout should be determined based on your application's requirements.
post/api/organizations/{organizationId}/buckets/{bucketId}
Request
- Base URLhttps://studio.edgeimpulse.com/v1
- Auth
- API key in header x-api-key
- or API key in cookie jwt
- or API key in header x-jwt-token
- or OAuth 2Authorization code/v1/oauth/authorizeClient credentialsImplicit/v1/oauth/authorizePasswordToken URL/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organizationIdinteger required
Organization ID
bucketIdinteger required
Bucket ID
Request body
Example request
{
"storageAccountName": "my-storage-account"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.