Updates a specific storage policy assignment.
932483
The ID of the storage policy assignment.
The storage policy to assign to the user or enterprise
"1434325"
The ID of the storage policy to assign.
"storage_policy"
The type to assign.
Value is always storage_policy
Returns an updated storage policy assignment object.
An unexpected client error.
curl -i -X PUT "https://api.box.com/2.0/storage_policy_assignments/932483" \
-H "authorization: Bearer <ACCESS_TOKEN>" \
-H "content-type: application/json" \
-d '{
"storage_policy": {
"type": "storage_policy",
"id": "1434325"
}
}'
{
"id": "ZW50ZXJwcmlzZV8xMjM0NTY3ODkw",
"type": "storage_policy_assignment",
"assigned_to": {
"id": "11446498",
"type": "file"
},
"storage_policy": {
"id": "11446498",
"type": "storage_policy"
}
}