action stream_io_api_deactivate_users { label: "Deactivate users" description: "Deactivate users in batches" provider: stream_io_api method: POST path: "/users/deactivate" encoding: json input: { type: "object" required: ["user_ids"] properties: { created_by_id: { type: "string" description: "ID of the user who deactivated the users" } mark_messages_deleted: { type: "boolean" description: "Makes messages appear to be deleted" } user_ids: { type: "array" description: "User IDs to deactivate" items: { type: "string" } } } } output: { type: "object" required: ["duration", "task_id"] properties: { duration: { type: "string" description: "Duration of the request in human-readable format" } task_id: { type: "string" } } } }