def update_remote_vpsa_rate_limit(session, remote_vpsa_id, limit,
    return_type=None, **kwargs):
    """
    Detach a Snapshot Policy from a Volume

    :type session: zadarapy.session.Session
    :param session: A valid zadarapy.session.Session object.  Required.

    :type remote_vpsa_id: str
    :param remote_vpsa_id: Remote VPSA ID

    :type limit: int
    :param limit: New rate limit to set in kb/s

    :type return_type: str
    :param return_type: If this is set to the string 'json', this function
        will return a JSON string.  Otherwise, it will return a Python
        dictionary.  Optional (will return a Python dictionary by default).

    :rtype: dict, str
    :returns: A dictionary or JSON data set as a string depending on
        return_type parameter.
    """
    path = '/api/remote_vpsas/{0}/rate_limit.json'.format(remote_vpsa_id)
    body_values = {'limit': limit}
    return session.post_api(path=path, body=body_values, return_type=
        return_type, **kwargs)
