{
  "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"
    },
    "permission_type": {
      "desc": "The type of permission that defines who can run a trigger _Acceptable values:_ `everyone` `app_collaborators` `named_entities`",
      "required": true,
      "type": "string"
    },
    "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": "Set the permission type for who can run a trigger",
  "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.",
    "external_workspace_denied": "The channel selected is not on the workflow team.",
    "invalid_permission_type": "This function requires permission\\_type to be set as named\\_entities before adding users.",
    "named_entities_cannot_be_empty": "Must pass at least one valid named entity.",
    "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"
      }
    ]
  }
}

