Box Developer Documentation
 
    Latest version

    Delete user

    delete
    https://api.box.com/2.0
    /users/:user_id

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

    Deletes a user. By default this will fail if the user still owns any content. Move their owned content first before proceeding, or use the force field to delete the user and their files.

    Request

    bearer [ACCESS_TOKEN]
    application/json

    Path Parameters

    stringin pathrequired
    12345

    The ID of the user.

    Query Parameters

    booleanin queryoptional
    true

    Whether the user should be deleted even if this user still own files

    booleanin queryoptional
    true

    Whether the user will receive email notification of the deletion

    Response

    none

    Removes the user and returns an empty response.

    application/jsonClient error

    An unexpected client error.

    delete
    Delete user
    You can now try out some of our APIs live, right here in the documentation.
    Log in