Buckets

Manage your Stook Buckets — create, list, update, and delete them.

Retrieve information about the bucket

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

The unique identifier of the organization

Responses
200

Bucket details retrieved successfully

application/json
get
/api/v2/stook/{organization_uuid}/bucket
200

Bucket details retrieved successfully

Retrieve bucket details

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

The UUID of the organization

bucket_uuidstringRequired

The UUID of the bucket

Responses
200

Bucket details retrieved successfully

application/json
get
/api/v2/stook/{organization_uuid}/bucket/{bucket_uuid}
200

Bucket details retrieved successfully

Create a new bucket

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

The unique identifier of the organization

Body
namestringRequired

The name of the bucket

regionstring · enumOptional

The region where the bucket will be created

Possible values:
Responses
200

Bucket successfully created

application/json
post
/api/v2/stook/{organization_uuid}/bucket
200

Bucket successfully created

Update an existing bucket

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

The unique identifier of the organization

bucket_uuidstringRequired

The unique identifier of the bucket

Body
Responses
200

Bucket successfully updated

application/json
put
/api/v2/stook/{organization_uuid}/bucket/{bucket_uuid}
200

Bucket successfully updated

Delete an existing bucket

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

The unique identifier of the organization

bucket_uuidstringRequired

The unique identifier of the bucket

Responses
200

Bucket successfully deleted

application/json
delete
/api/v2/stook/{organization_uuid}/bucket/{bucket_uuid}
200

Bucket successfully deleted

Last updated

Was this helpful?