Update this user's presence state.

PUT {{baseUrl}}/presence/:userId/status

This API sets the given user's presence state. When setting the status, the activity time is updated to reflect that activity; the client does not need to specify the last_active_ago field. You cannot set the presence state of another user.

Request Body

{"presence"=>"online", "status_msg"=>"I am here."}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{}