Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods admin.apps.config.set.json
Raw

priv/docs/methods/admin.apps.config.set.json

{
"args": {
"app_id": {
"desc": "The encoded app ID to set the app config for",
"example": "A12345",
"required": true
},
"domain_restrictions": {
"desc": "Domain restrictions for the app. Should be an object with two properties: `urls` and `emails`. Each is an array of strings, and each sets the allowed URLs and emails for connector authorization, respectively.",
"required": false,
"type": "object"
},
"rich_link_preview_type": {
"desc": "Indicates the app-level override for rich link preview. Unsupported for free teams. _Acceptable values:_ `all_details` `limited_details` `no_preview` `default_to_global_setting`",
"required": false,
"type": "string"
},
"workflow_auth_strategy": {
"desc": "The workflow auth permission. Can be one of `builder_choice` or `end_user_only`. _Acceptable values:_ `builder_choice` `end_user_only`",
"required": false,
"type": "string"
}
},
"desc": "Set the app config for a connector",
"errors": {
"invalid_app": "App is invalid",
"invalid_domains": "At least one URL or email is invalid",
"invalid_workflow_auth_strategy": "workflow auth strategy is invalid",
"no_domains_provided": "At least one allowed domain must be specified if populating the argument",
"restricted_plan_level": "The given parameter is not supported on this team.",
"too_many_domains_provided": "Too many domains provided. Please provide 50 or less for each type of domain",
"unknown_method": "This method does not exist.",
"url_restriction_not_supported": "URL restriction is not supported for this app."
},
"rate_limit": {
"label": "Tier 3: 50+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.apps:write",
"url": "https://docs.slack.dev/reference/scopes/admin.apps.write"
}
]
}
}