Slack User Groups API Methods (Go Back)
This PHP class provides methods to interact with the Slack User Groups API. Below are instructions on how to use each method.
create(
?array $channels = null,
?string $description = null,
?string $hanlde = null,
?bool $includeCount = null,
?string $teamId = null
)
Create a new user group.
update(
?array $channels = null,
?string $description = null,
?string $hanlde = null,
?bool $includeCount = null,
?string $teamId = null,
?string $name = null
)
Update an existing user group.
disable(
string $userGroupId,
?bool $includeCount = null,
?string $teamId = null
)
Disable a user group.
enable(
string $userGroupId,
?bool $includeCount = null,
?string $teamId = null
)
Enable a user group.
list(
?bool $includeCount = null,
?bool $includeDisabled = null,
?bool $includeUsers = null,
?string $teamId = null
)
Retrieve a list of user groups.
usersList(
string $userGroupId,
?bool $includeDisabled = null,
?string $teamId = null
)
Retrieve a list of users in a user group.
usersUpdate(
string $userGroupId,
array $users,
?bool $includeCount = null,
?string $teamId = null
)
Update the list of users in a user group.