0

How can I use the HipChat API to update my own status (Available/Away/Do not disturb)?

I've tried https://www.hipchat.com/docs/apiv2/method/update_user with an access token having all scopes, but I get the message "HipChat Admin can not update Atlassian account user's email".

EvenLisle
  • 4,672
  • 3
  • 24
  • 47

1 Answers1

0

Unfortunately, the update_user API requires that you pass the entire content of the user, not just the status. For your scenario to work, you'd need to do a first call https://www.hipchat.com/docs/apiv2/method/view_user, get all the data, change the status, and then call https://www.hipchat.com/docs/apiv2/method/update_user with the full payload.

Ramiro Berrelleza
  • 2,254
  • 1
  • 15
  • 27