v1

latestOpenAPI 3.0.2Apache-2.02026-07-142963051.0 MB
Standard and Zones Storage Policy Assignments

Get storage policy assignment

Fetches a specific storage policy assignment.

get/storage_policy_assignments/{storage_policy_assignment_id}

Path parameters

storage_policy_assignment_idstring required

The ID of the storage policy assignment.

Response

Returns a storage policy assignment object.

idstring required

The unique identifier for a storage policy assignment.

type'storage_policy_assignment' required

The value will always be storage_policy_assignment.

Example response

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