def set_template_groups_priorities(
    self,
    template_groups_list: list[str],
) -> dict:
    """Set order that template groups will be applied in

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

        * - Swagger Section
          - Method
          - Endpoint
        * - template
          - POST
          - /template/templateGroupPriorities

    :param template_groups_list: Ordered list of template groups by name
        to be specified for prioirty
    :type template_groups_list: list[str]
    :return: Returns True/False based on successful call
    :rtype: bool
    """
    data = {"templateIds": template_groups_list}

    return self._get(
        "/template/templateGroupsPriorities",
        data=data,
        return_type="bool",
    )