Box Developer Documentation
 
    Latest version

    Remove email alias

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

    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 email alias from a user.

    Request

    bearer [ACCESS_TOKEN]
    application/json

    Path Parameters

    stringin pathrequired
    23432

    The ID of the email alias.

    stringin pathrequired
    12345

    The ID of the user.

    Response

    none

    Removes the alias and returns an empty response.

    application/jsonClient error

    An unexpected client error.

    delete
    Remove email alias
    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/users/12345/email_aliases/23432" \
         -H "authorization: Bearer <ACCESS_TOKEN>"