Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods workflows.triggers.permissions.add.json
Raw

priv/docs/methods/workflows.triggers.permissions.add.json

{
"args": {
"channel_ids": {
"desc": "List of encoded channel IDs",
"example": "C0000000001,C0000000002",
"required": false,
"type": "array"
},
"org_ids": {
"desc": "List of encoded organization IDs",
"example": "E00000001,E00000002",
"required": false,
"type": "array"
},
"team_ids": {
"desc": "List of encoded workspace IDs",
"example": "T0000000001,T0000000002",
"required": false,
"type": "array"
},
"trigger_id": {
"desc": "Encoded ID of the trigger",
"example": "Ft0000000001",
"required": true,
"type": "string"
},
"user_ids": {
"desc": "List of encoded user IDs",
"example": "U0000000001,U0000000002",
"required": false,
"type": "array"
}
},
"desc": "Allows users to run a trigger that has its permission type set to named\\_entities",
"errors": {
"channel_not_found": "One or more of the listed channels could not be found.",
"connected_org_denied": "The workspace admin does not allow connected organizations to be named\\_entities.",
"connected_team_denied": "The workspace admin does not allow connected teams to be named\\_entities.",
"connected_user_denied": "The workspace admin does not allow connected users to be named\\_entities.",
"invalid_permission_type": "This trigger requires permission\\_type to be set as named\\_entities before adding users.",
"no_valid_named_entities": "None of the provided named entities were valid",
"org_not_connected": "One of more of the listed organizations were not connected.",
"org_not_found": "One or more of the listed organizations could not be found.",
"shared_channel_denied": "The workspace admin does not allow shared channels to be named\\_entities.",
"team_not_connected": "One of more of the listed teams were not connected by org.",
"team_not_found": "One or more of the listed teams could not be found.",
"too_many_named_entities": "Too many named entities passed into the trigger permissions setting.",
"trigger_not_found": "This trigger does not exist.",
"unknown_method": "This method does not exist.",
"user_not_found": "One or more of the listed users could not be found."
},
"rate_limit": {
"label": "Tier 3: 50+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"bot": [
{
"name": "triggers:write",
"url": "https://docs.slack.dev/reference/scopes/triggers.write"
}
]
}
}