MCPcopy
hub / github.com/slackapi/python-slack-sdk / admin_apps_config_set

Method admin_apps_config_set

slack_sdk/web/client.py:353–372  ·  view source on GitHub ↗

Set the app config for a connector https://docs.slack.dev/reference/methods/admin.apps.config.set

(
        self,
        *,
        app_id: str,
        domain_restrictions: Optional[Dict[str, Any]] = None,
        workflow_auth_strategy: Optional[str] = None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

351 return self.api_call("admin.apps.config.lookup", params=kwargs)
352
353 def admin_apps_config_set(
354 self,
355 *,
356 app_id: str,
357 domain_restrictions: Optional[Dict[str, Any]] = None,
358 workflow_auth_strategy: Optional[str] = None,
359 **kwargs,
360 ) -> SlackResponse:
361 """Set the app config for a connector
362 https://docs.slack.dev/reference/methods/admin.apps.config.set
363 """
364 kwargs.update(
365 {
366 "app_id": app_id,
367 "workflow_auth_strategy": workflow_auth_strategy,
368 }
369 )
370 if domain_restrictions is not None:
371 kwargs.update({"domain_restrictions": json.dumps(domain_restrictions)})
372 return self.api_call("admin.apps.config.set", params=kwargs)
373
374 def admin_auth_policy_getEntities(
375 self,

Callers

nothing calls this directly

Calls 1

api_callMethod · 0.45

Tested by

no test coverage detected