Set User Status
Permission required: edit-other-user-info
and the setting AllowUserStatusMessageChange enabled.
Body Parameters
Example Call
Example Response
Change Log
Last updated
Rocket.Chat versions receive support for six months after release.
HTTP Method | URL | Requires Auth |
---|---|---|
Key | Example | Required | Description |
---|---|---|---|
Version | Description |
---|---|
POST
/api/v1/users.setStatus
message
My status update.
Required
The user's status message.
status
online
Optional
The user's status like online
, away
, busy
, offline
.
userId
zXuq7SvPKYbzYmfpo
Optional
The userId to change. The running user must have edit-other-user-info
permission
username
rocket.cat
Optional
The username to change. The running user must have edit-other-user-info
permission
1.2.0
Added