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,
)
| 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, |