You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/api/services/enterprise/enterprise_service.py

15 lines
444 B
Python

from services.enterprise.base import EnterpriseRequest
class EnterpriseService:
@classmethod
def get_info(cls):
return EnterpriseRequest.send_request("GET", "/inner/api/info")
@classmethod
def update_web_sso_exclude_apps(cls, app_id_list, user_id):
return EnterpriseRequest.send_request(
"PATCH", "/inner/api/web-sso-exclude-apps", json={"app_id_list": app_id_list, "user_id": user_id}
)