{ "name": "DisableUserGroup", "fully_qualified_name": "SlackApi.DisableUserGroup@0.1.0", "description": "Disable an existing Slack User Group.\n\nThis tool should be called to disable an existing User Group in Slack. It requires appropriate OAuth scopes and sends a POST request to the Slack API. Use this tool when you need to deactivate a User Group to prevent users from being able to reference or use it.", "toolkit": { "name": "ArcadeSlackApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "user_group_id", "required": true, "description": "The encoded ID of the User Group to be disabled.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "inferrable": true, "http_endpoint_parameter_name": "usergroup" }, { "name": "team_id", "required": false, "description": "Encoded target team ID where the user group exists. Required only if using an org-level token; ignored for workspace-level tokens.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "inferrable": true, "http_endpoint_parameter_name": "team_id" }, { "name": "include_user_count", "required": false, "description": "Include the number of users in the User Group. Set to true to include the count.", "value_schema": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "inferrable": true, "http_endpoint_parameter_name": "include_count" } ] }, "output": { "description": "Response from the API endpoint 'usergroups.disable'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": { "provider_id": "arcade-slack", "provider_type": "oauth2", "id": null, "oauth2": { "scopes": [ "usergroups:write" ] } }, "secrets": null, "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.0.0", "description": "Arcade Wrapper Tools enabling LLMs to interact with low-level Slack API endpoints." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.0.0", "description": "" }, "url": "https://slack.com/api/usergroups.disable", "http_method": "POST", "headers": { "Content-Type": "application/x-www-form-urlencoded" }, "parameters": [ { "name": "usergroup", "tool_parameter_name": "user_group_id", "description": "The encoded ID of the User Group to disable.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "accepted_as": "body", "required": true, "deprecated": false, "documentation_urls": [] }, { "name": "include_count", "tool_parameter_name": "include_user_count", "description": "Include the number of users in the User Group.", "value_schema": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "accepted_as": "body", "required": false, "deprecated": false, "documentation_urls": [] }, { "name": "team_id", "tool_parameter_name": "team_id", "description": "Encoded target team id where the user group is, required if org token is used.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "accepted_as": "body", "required": false, "deprecated": false, "documentation_urls": [] } ], "documentation_urls": [ "https://docs.slack.dev/reference/methods/usergroups.disable" ], "secrets": [ { "arcade_key": "auth_token", "parameter_name": "Authorization", "accepted_as": "header", "formatted_value": "Bearer {authorization}", "description": "The OAuth token to use for authentication.", "is_auth_token": true } ] } }