Box Developer Documentation
 
    Latest version

    Delete user avatar

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

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

    Removes an existing user avatar. You cannot reverse this operation.

    Request

    bearer [ACCESS_TOKEN]
    application/json

    Path Parameters

    stringin pathrequired
    12345

    The ID of the user.

    Response

    none
    • no_content: Removes the avatar and returns an empty response.
    application/jsonClient error
    • forbidden: Returned if the user does not have necessary permissions or is not activated.
    application/jsonClient error
    • not_found: Returned if the user or user avatar does not exist or cannot be found.
    application/jsonClient error

    An unexpected client error.

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