def delete_user(connection, id):
    """Delete user for specific user id.

    Args:
        connection(object): MicroStrategy connection object returned by
            `connection.Connection()`.
        id(string): User ID.

    Returns:
        HTTP response object returned by the MicroStrategy REST server.
    """

    return connection.session.delete(url=f'{connection.base_url}/api/users/{id}')