Current section
Files
Jump to
Current section
Files
priv/docs/methods/admin.barriers.update.json
{
"args": {
"barrier_id": {
"desc": "The ID of the barrier you're trying to modify",
"required": true
},
"barriered_from_usergroup_ids": {
"desc": "A list of IDP Groups ids that the primary usergroup is to be barriered from.",
"required": true,
"type": "array"
},
"primary_usergroup_id": {
"desc": "The id of the primary IDP Group",
"required": true
},
"restricted_subjects": {
"desc": "What kind of interactions are blocked by this barrier? For v1, we only support a list of all 3, eg `im, mpim, call`",
"required": true,
"type": "array"
}
},
"desc": "Update an existing Information Barrier",
"errors": {
"barrier_already_exists": "There already exists another barrier restricting activity between two or more of your requested usergroups.",
"barrier_not_found": "The barrier you're trying to update cannot be found.",
"barriered_from_usergroups_not_found": "One or more of the ids passed in for barriered\\_from\\_usergroup\\_ids can’t be found.",
"feature_not_enabled": "The information barrier feature is not enabled, please reach out to your CSM.",
"invalid_restricted_subjects": "The restricted subjects provided are invalid or not currently supported.",
"not_an_admin": "The token provided is not associated with an org admin.",
"primary_usergroup_not_found": "The id passed in for primary\\_usergroup\\_id can’t be found."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.barriers:write",
"url": "https://docs.slack.dev/reference/scopes/admin.barriers.write"
}
]
}
}