IntegrationsSlackActions
Update Slack user group members
Replace the full membership of a Slack user group with the provided user ids. This is a full replacement, not a partial add or remove.
usergroups.users.update · Slack · v1
Details
Scopes
usergroups:write
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
usergroup_id | string | Yes | minLength 1; maxLength 64 |
user_ids | array<string> | Yes | minItems 1; maxItems 500 |
user_ids[] | string | Yes | minLength 1; maxLength 64 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
id | string | Yes | — |
users | array<string> | Yes | — |
users[] | string | Yes | — |
user_count | integer | No | — |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"usergroup_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"user_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"minItems": 1,
"maxItems": 500
}
},
"required": [
"usergroup_id",
"user_ids"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"users": {
"type": "array",
"items": {
"type": "string"
}
},
"user_count": {
"type": "integer"
}
},
"required": [
"id",
"users"
]
}