List storage policy assignments

GET https://{{api.box.com}}/2.0/storage_policy_assignments?resolved_for_type=user&resolved_for_id=984322

Fetches all the storage policy assignment for an enterprise or user.

https://developer.box.com/reference/get-storage-policy-assignments

Request Params

KeyDatatypeRequiredDescription
markerstringDefines 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. | | resolved_for_type | string | | The target type to return assignments for | | resolved_for_id | number | | The ID of the user or enterprise to return assignments for |

RESPONSES

status: OK

{"limit":1000,"next_marker":"JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii","prev_marker":"JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVih","entries":[{"id":"ZW50ZXJwcmlzZV8xMjM0NTY3ODkw","type":"storage_policy_assignment","storage_policy":{"id":"11446498","type":"storage_policy"},"assigned_to":{"id":"11446498","type":"file"}}]}