Box Developer Documentation

A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.

Storage policy assignment

This resource is used by endpoints in the version 2024.0. For more details, see Box API versioning.

The assignment of a storage policy to a user or enterprise.

string
ZW50ZXJwcmlzZV8xMjM0NTY3ODkw

The unique identifier for a storage policy assignment.

string
storage_policy_assignment

The value will always be storage_policy_assignment.

Value is always storage_policy_assignment

The enterprise or use the policy is assigned to.

11446498

The unique identifier for this object.

file

The type for this object.

The assigned storage policy.

Response Example

{
  "id": "ZW50ZXJwcmlzZV8xMjM0NTY3ODkw",
  "type": "storage_policy_assignment",
  "assigned_to": {
    "id": "11446498",
    "type": "file"
  },
  "storage_policy": {
    "id": "11446498",
    "type": "storage_policy"
  }
}