Box · Schema

Retention policy (Mini)

A mini representation of a retention policy, used when nested within another resource.

Cloud StorageCollaborationContent ManagementDocumentsEnterpriseFile SharingBoxStorage

Properties

Name Type Description
policy_name string The name given to the retention policy.
retention_length string The length of the retention policy. This value specifies the duration in days that the retention policy will be active for after being assigned to content. If the policy has a `policy_type` of `indefi
disposition_action string The disposition action of the retention policy. This action can be `permanently_delete`, which will cause the content retained by the policy to be permanently deleted, or `remove_retention`, which wil
View JSON Schema on GitHub

JSON Schema

box-retentionpolicy-mini-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RetentionPolicy--Mini",
  "title": "Retention policy (Mini)",
  "type": "object",
  "x-box-resource-id": "retention_policy--mini",
  "x-box-variant": "mini",
  "description": "A mini representation of a retention policy, used when\nnested within another resource.",
  "allOf": [
    {
      "$ref": "#/components/schemas/RetentionPolicy--Base"
    },
    {
      "properties": {
        "policy_name": {
          "type": "string",
          "description": "The name given to the retention policy.",
          "example": "Some Policy Name"
        },
        "retention_length": {
          "type": "string",
          "format": "int32",
          "example": "365",
          "minimum": 1,
          "description": "The length of the retention policy. This value\nspecifies the duration in days that the retention\npolicy will be active for after being assigned to\ncontent.  If the policy has a `policy_type` of\n`indefinite`, the `retention_length` will also be\n`indefinite`."
        },
        "disposition_action": {
          "type": "string",
          "example": "permanently_delete",
          "description": "The disposition action of the retention policy.\nThis action can be `permanently_delete`, which\nwill cause the content retained by the policy\nto be permanently deleted, or `remove_retention`,\nwhich will lift the retention policy from the content,\nallowing it to be deleted by users,\nonce the retention policy has expired.",
          "enum": [
            "permanently_delete",
            "remove_retention"
          ]
        }
      }
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/box-retentionpolicy-mini"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.