Box Developer Documentation
 
    Latest version

    Unassign storage policy

    delete
    https://api.box.com/2.0
    /storage_policy_assignments/:storage_policy_assignment_id

    This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.

    Delete a storage policy assignment.

    Deleting a storage policy assignment on a user will have the user inherit the enterprise's default storage policy.

    There is a rate limit for calling this endpoint of only twice per user in a 24 hour time frame.

    Request

    bearer [ACCESS_TOKEN]
    application/json

    Path Parameters

    stringin pathrequired
    932483

    The ID of the storage policy assignment.

    Response

    none

    Returns an empty response when the storage policy assignment is successfully deleted.

    application/jsonClient error

    An unexpected client error.

    delete
    Unassign storage policy
    You can now try out some of our APIs live, right here in the documentation.
    Log in

    Request Example

    cURL
    curl -i -X DELETE "https://api.box.com/2.0/storage_policy_assignments/932483" \
         -H "authorization: Bearer <ACCESS_TOKEN>" \
         -d '{
           "items": {
             "type": "storage_policy",
             "id": "1434325"
           }
         }'