status

Update user custom status

Updates a user's custom status by setting the value in the user's props and updates the user. Also save the given custom status to the recent custom statuses in the user's props

Permissions

Must be logged in as the user whose custom status is being updated.

put/api/v4/users/{user_id}/status/custom

Path parameters

user_idstring required

User ID

Request body

emojistring required

Any emoji

textstring required

Any custom status text

durationstring

Duration of custom status, can be thirty_minutes, one_hour, four_hours, today, this_week or date_and_time

expires_atstring

The time at which custom status should be expired. It should be in ISO format.

Response

User custom status update successful

statusstring

Will contain "ok" if the request was successful and there was nothing else to return

Changes

No recorded changes to this endpoint across all 1 revision of this API.