List storage policies
Changed onFetches all the storage policies in the enterprise.
Request
- Base URLhttps://api.box.com/2.0
- URLhttps://api.box.com/2.0/storage_policies
- AuthOAuth 2Authorization code: https://account.box.com/api/oauth2/authorizeToken URL: https://api.box.com/oauth2/token
Query parameters
A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
This requires usemarker to be set to true.
The maximum number of items to return per page.
Response
Returns a collection of storage policies.
Example response
{
"limit": 1000,
"next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii",
"prev_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVih",
"entries": [
{
"id": "11446498",
"type": "storage_policy",
"name": "Montreal / Dublin"
}
]
}Changes
- warning
added the new
unprocessable_entityenum value to theresponse property for the response status
- warning