@slack/web-api / AdminBarriersCreateArguments
Defined in: src/types/request/admin/barriers.ts:11
TokenOverridable
barriered_from_usergroup_ids: string[];Defined in: src/types/request/admin/barriers.ts:13
A list of IDP Groups IDs ti associate with the barrier.
primary_usergroup_id: string;Defined in: src/types/request/admin/barriers.ts:15
The ID of the primary IDP Group.
restricted_subjects: ["im", "mpim", "call"];Defined in: src/types/request/admin/barriers.ts:20
What kind of interactions are blocked by this barrier?
Currently you must provide all three: im, mpim, call.
optional token: string;Defined in: src/types/request/common.ts:43
Overridable authentication token bearing required scopes.
TokenOverridable.token