v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-07186533829.2 KB
product:chat

Deactivate users

Deactivate users in batches

Sends events:

  • user.deactivated
post/users/deactivate

Request body

created_by_idstring

ID of the user who deactivated the users

mark_channels_deletedboolean
mark_messages_deletedboolean

Makes messages appear to be deleted

user_idsstring[] required

User IDs to deactivate

Response

Response

durationstring required

Duration of the request in milliseconds

task_idstring required