unattach_user(context, id, user_id)

    Unattach a user from a remoteci.

    >>> dcictl remoteci-unattach-user [OPTIONS]

    :param string id: ID of the remoteci to unattach the user from
                      [required]
    :param string user_id: ID of the user to unattach [required]

def unattach_user(context, id, user_id):
    """unattach_user(context, id, user_id)

    Unattach a user from a remoteci.

    >>> dcictl remoteci-unattach-user [OPTIONS]

    :param string id: ID of the remoteci to unattach the user from
                      [required]
    :param string user_id: ID of the user to unattach [required]
    """
    result = remoteci.remove_user(context, id=id,
                                  user_id=user_id)
    if result.status_code == 204:
        utils.print_json({'id': id,
                          'message': 'User unattached from RemoteCI'})
    else:
        utils.format_output(result, context.format)