---
title: "List storage policy assignments"
method: GET
path: "/storage_policy_assignments"
tags: ["Standard and Zones Storage Policy Assignments"]
---

# List storage policy assignments

`GET /storage_policy_assignments`

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

## Query parameters

- `marker` string
- `resolved_for_type` 'user' | 'enterprise', required
- `resolved_for_id` string, required

## Response `200`

Returns a collection of storage policies for
the enterprise or user.

- StoragePolicyAssignments — The part of an API response that describes marker based pagination.
  - `limit` integer — 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_marker` string, nullable — The marker for the start of the next page of results.
  - `prev_marker` string, nullable — The marker for the start of the previous page of results.
  - `entries` StoragePolicyAssignment[] — A list of storage policy assignments.
    - `id` string, required — The unique identifier for a storage policy assignment.
    - `type` 'storage_policy_assignment', required — The value will always be `storage_policy_assignment`.
    - `storage_policy` object — The assigned storage policy.
      - `id` string, required — The unique identifier for this storage policy.
      - `type` 'storage_policy', required — The value will always be `storage_policy`.
    - `assigned_to` object — The enterprise or use the policy is assigned to.
      - `id` string — The unique identifier for this object.
      - `type` string — The type for this object.

## Other responses

- `default` — An unexpected client error.

---

[API](https://skmtc.net/box/apis/platform-api.md) · [All operations](https://skmtc.net/box/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/box/platform-api/versions/ba8f087e1a4d/schema)
