Get Bucket DetailsAdmin Scope
Note: Ensure you have installed the required package to use this SDK method.
The getDetails() SDK method will allow you to get all available details of a particular bucket. The bucket reference used in the following code snippet is the component instance.
copy
const buckets = await bucket.getDetails(); // get details of a given bucket
console.log(buckets);
Example of Expected Response
copy
{
bucket_name: 'zylker14266',
project_details: {
project_name: 'ZylkerIndustries',
id: '12096000002022001',
project_type: 'Live'
},
created_by: {
zuid: '779176685',
is_confirmed: false,
email_id: 'emmy@zylker.com',
first_name: 'Amelia',
last_name: 'Burrows',
user_type: 'Admin',
user_id: '12096000000003003'
},
created_time: 'Aug 20, 2025 03:11 PM',
modified_by: {
zuid: '779176685',
is_confirmed: false,
email_id: 'emmy@zylker.com',
first_name: 'Amelia',
last_name: 'Burrows',
user_type: 'Admin',
user_id: '12096000000003003'
},
modified_time: 'Aug 20, 2025 03:11 PM',
bucket_meta: {
versioning: false,
caching: { status: 'Disabled' },
encryption: false,
audit_consent: false
},
bucket_url: 'https://zylker4266-development.zohostratus.com'
}
Last Updated 2026-07-02 14:51:41 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit