Fuselage
Powered By GitBook
Set Status
Sets a user Status when the status message and state is given.
URL
Requires Auth
HTTP Method
/api/v1/users.setStatus
yes
POST

Arguments

Argument
Example
Required
Description
message
My status update.
Required
The user's status message.
status
online
Optional
The user's status like online, away, busy, offline.

Example Call

1
curl -H "X-Auth-Token: 40tB-Cn5YQJ74QMlQXi4Zf4E_-e0P5CrklU2pWOtV9M" \
2
-H "X-User-Id: uunbZHiuEnib8Pawj" \
3
-H "Content-type: application/json" \
4
-d '{"message":"My status update", "status": "online"}' \
5
http://localhost:3000/api/v1/users.setStatus
Copied!

Example Result

1
{
2
"success": true
3
}
Copied!

Change Log

Version
Description
1.2.0
Added
Last modified 11d ago
Export as PDF
Copy link