GET
/storage_policy_assignmentsList storage policy assignments
Fetches all the storage policy assignment for an enterprise or user.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
markerstringoptional
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`.
resolved_for_typestringrequired
The target type to return assignments for.
resolved_for_idstringrequired
The ID of the user or enterprise to return assignments for.
200Returns a collection of storage policies for
the enterprise or user.
limitintegeroptional
The limit that was used for these entries. This will be the same as the
`limit` query parameter unless that value exceeded the maximum value
allowed. The maximum value varies by API.
next_markerstringoptional
The marker for the start of the next page of results.
prev_markerstringoptional
The marker for the start of the previous page of results.
entriesarray<StoragePolicyAssignment>optional
A list of storage policy assignments.
defaultAn unexpected client error.
typestringoptional
The value will always be `error`.
statusintegeroptional
The HTTP status of the response.
codestringoptional
A Box-specific error code.
messagestringoptional
A short message describing the error.
context_infoobjectoptional
A free-form object that contains additional context
about the error. The possible fields are defined on
a per-endpoint basis. `message` is only one example.
help_urlstringoptional
A URL that links to more information about why this error occurred.
request_idstringoptional
A unique identifier for this response, which can be used
when contacting Box support.
Error handling
Any other status is an error: An unexpected client error.