/ Platform API
Platform API
    Chat Platform API v3
    Chat Platform API
    Chat Platform API
    Version 3

    Delete a user

    Copy link

    You can delete a user from your Sendbird application using this API.

    Note: This API deletes user data and metadata, except for their messages. If you wish to delete user data including their messages, use the GDPR request.


    HTTP request

    Copy link
    DELETE https://api-{application_id}.sendbird.com/v3/users/{user_id}
    

    Parameters

    Copy link

    The following table shows a parameter that this action supports.

    Required
    Parameter nameTypeDescription

    user_id

    string

    Specifies the unique ID of the user.


    Response

    Copy link

    If successful, this action returns an empty response body.

    In the case of an error, an error object like below is returned. See the error codes section for more details.

    {
        "message": "\"User\" not found.",
        "code": 400201,
        "error": true
    }