def modify_regionalized_overlay(
    self,
    regional_overlay_config: list,
) -> dict:
    """Use this API to update an exhaustive representation of
    regionalized overlays. The body of this request should be a map
    keyed by overlayId whose value is a map of regionId to regional
    overlay configuration, use region_id ``0`` to update global overlay
    configuration.

    .. list-table::
        :header-rows: 1

        * - Swagger Section
          - Method
          - Endpoint
        * - overlays
          - PUT
          - /gms/overlays/config/regions

    .. note::

        See Swagger for more details on constructing valid
        ``regional_overlay_config`` parameter to pass.

    :return: Returns full response details. On successful call will
        return newly created Overlay ID
    :rtype: Requests.response object
    """
    return self._put(
        "/gms/overlays/config/regions",
        data=regional_overlay_config,
        return_type="full_response",
    )