Is it possible to reactivate deleted users using HIPCHAT REST API V2? Edited

I didn't find any method under Hipchat API V2 docs to reactivate deleted users. Is it possible using REST API V2?

1 answer

2 votes
Shayne Covey Atlassian Team Apr 21, 2017

I was able to successfully send a v2/user DELETE call to HipChat to deactivate a user, then reactivate the same user with a v2/user POST. I verified the user's active/deactivated status with the HipChat web interface to confirm that the calls were successful.

Additionally, the request body for the POST included a full response from a v2/user GET.

Here's a sample of the JSON body passed through the POST:

  "created": "2017-03-30T21:02:05+00:00",
  "email": "",
  "group": {
    "id": 1,
    "links": {
      "self": ""
    "name": "Example"
  "id": 4347,
  "is_deleted": false,
  "is_group_admin": false,
  "is_guest": false,
  "last_active": null,
  "links": {
    "self": ""
  "mention_name": "ExampleMention",
  "name": "Example Name ",
  "photo_url": "",
  "presence": null,
  "roles": [
  "timezone": "UTC",
  "title": "",
  "version": "4POMLGPU",
  "xmpp_jid": ""

Thanks Shayne! It works.

Shayne Covey Atlassian Team Apr 24, 2017

Great! I'm glad to hear that, Yogendra!

Could you please mark the answer as Accepted for anyone else that stumbles on this problem? :)

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Published Oct 07, 2017 in Hipchat

Bringing Structure to your HipChat Instance

...have mention name FirstnameLastname. Fe.: @MaartenCautreels This certainly helps to know who is being mentioned in a conversation. Imagine your colleague sends the following message...

470 views 1 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot