Box · Schema

Storage policy assignment

The assignment of a storage policy to a user or enterprise

Cloud StorageCollaborationContent ManagementDocumentsEnterpriseFile Sharing

Properties

Name Type Description
id string The unique identifier for a storage policy assignment.
type string `storage_policy_assignment`
storage_policy object
assigned_to object
View JSON Schema on GitHub

JSON Schema

box-storagepolicyassignment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StoragePolicyAssignment",
  "title": "Storage policy assignment",
  "type": "object",
  "x-box-resource-id": "storage_policy_assignment",
  "x-box-tag": "storage_policy_assignments",
  "description": "The assignment of a storage policy to a user or enterprise",
  "required": [
    "id",
    "type"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for a storage policy assignment.",
      "example": "ZW50ZXJwcmlzZV8xMjM0NTY3ODkw"
    },
    "type": {
      "type": "string",
      "description": "`storage_policy_assignment`",
      "example": "storage_policy_assignment",
      "enum": [
        "storage_policy_assignment"
      ]
    },
    "storage_policy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StoragePolicy--Mini"
        },
        {
          "description": "The assigned storage policy"
        }
      ]
    },
    "assigned_to": {
      "allOf": [
        {
          "title": "Reference",
          "description": "The bare basic reference for an object",
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "description": "The unique identifier for this object",
              "example": "11446498"
            },
            "type": {
              "type": "string",
              "description": "The type for this object",
              "example": "file"
            }
          }
        },
        {
          "description": "The enterprise or use the policy is assigned to"
        }
      ]
    }
  }
}