Docy

View a Bucket List

View a Bucket List

This endpoint returns a list of all buckets owned by the authenticated sender of the request, which shows how many buckets exists and their names.

Request

GET https://<tenant-URL>/api/v1/storage_constraint_profile?token=<token>&op=viewBucketList&name=<bucket list name>

Valid parameters are:

KeyValueDescription
opstartStarts the scan. Start is currently the only supported operator. 
name<policy_name> Example: "MYCSA_POLICY"Required. The bucket list name.

Example Request and Response

$ curl -X GET 
'https://<tenant-URL>/api/v1/storage_constraint_profile?token=<token>&op=viewBucketList&amp;name=custom%20bucket%20list 
-H 'Content-Type: application/json' 
-H 'cache-control: no-cache'
{"status":"success","msg":"","data":["bucket-1-west","content-team-har","github-largefiles","netskope-confluence-files","redfg","toi.videos"]}
Share this Doc
In this topic ...