Skip to main content

@slack/web-api / AdminRolesAddAssignmentsArguments

Interface: AdminRolesAddAssignmentsArguments

Defined in: packages/web-api/src/types/request/admin/roles.ts:22

Extends​

  • EntityIDs.RoleID.UserIDs.TokenOverridable

Properties​

entity_ids​

entity_ids: [string, ...string[]];

Defined in: packages/web-api/src/types/request/admin/roles.ts:10

Description​

List of the entity IDs for which roles will be assigned/listed/removed. These can be Org IDs (E12345), Team IDs (T12345) or Channel IDs (C12345).

Inherited from​

EntityIDs.entity_ids

role_id​

role_id: string;

Defined in: packages/web-api/src/types/request/admin/roles.ts:18

Description​

ID of the role to which users will be assigned/removed.

See​

Admin Roles under Usage info.

Inherited from​

RoleID.role_id

token?​

optional token?: string;

Defined in: packages/web-api/src/types/request/common.ts:43

Description​

Overridable authentication token bearing required scopes.

Inherited from​

TokenOverridable.token

user_ids​

user_ids: [string, ...string[]];

Defined in: packages/web-api/src/types/request/common.ts:92

Description​

List of encoded user IDs.

Inherited from​

UserIDs.user_ids