Skip to main content

Netskope Help

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-name>.goskope.com/api/v1/storage_constraint_profile?token=<token>&op=viewBucketList&name=<bucket list name>

Valid parameters are:

Key

Value

Description

op

start

Starts 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-name>.goskope.com/api/v1/storage_constraint_profile?token=151b9d5&amp;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"]}