Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods slackLists.access.delete.json
Raw

priv/docs/methods/slackLists.access.delete.json

{
"args": {
"channel_ids": {
"desc": "List of channels you wish to update access for. Can only be used if `user_ids` is not provided. Both `channel_ids` and `user_ids` cannot be passed at the same time, but at least one of them is required.",
"example": "[\"C1234ABCD\"]",
"required": false,
"type": "array"
},
"list_id": {
"desc": "Encoded ID of the List.",
"example": "F1234ABCD",
"required": true
},
"user_ids": {
"desc": "List of users you wish to update access for. Can only be used if `channel_ids` is not provided. Both `channel_ids` and `user_ids` cannot be passed at the same time, but at least one of them is required.",
"example": "[\"U1234ABCD\"]",
"required": false,
"type": "array"
}
},
"desc": "Revoke access to a List for specified entities.",
"errors": {
"channel_not_found": "A channel could not be found.",
"failed_to_update_user_ids": "Failed to update the specified user IDs.",
"invalid_parameters": "One of `user_ids` or `channel_ids` must be defined, but not both.",
"list_not_found": "The List you wish to update permissions for is not available.",
"lists_disabled_user_team": "Lists is disabled on user's team.",
"restricted_action": "User does not have permission to perform this action.",
"user_not_found": "A user 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": "lists:write",
"url": "https://docs.slack.dev/reference/scopes/lists.write"
}
],
"user": [
{
"name": "lists:write",
"url": "https://docs.slack.dev/reference/scopes/lists.write"
}
]
}
}