Skip to main content

Hi!

I want to remove a user (user_456) that I have in a group “organization_123” with type “Organization” but I can make it work via the API (Keep getting “missing event” 400 error). Can someone advice how it should be done?

 

Endpoint: https://api2.amplitude.com/groupidentify

Headers: 

  • Authorization: Basic XXXXXXX
  • Content-Type: application/json

Body:

{
"user_id": "user_456",
"group_type": "organization",
"group_name": "organization_123",
"group_properties": {}
}

 

Thanks in advance!

Hello Santi,

Greetings! I hope you're having a fantastic day!

Just wanted to let you know that it's not currently possible to unset a user from a group. Instead, you can overwrite the group value as described in the documentation, here. The best option here would be to send a Group Identify to change the group association for the user moving forward.

Hope this helps!

-Eddie


P.S. Checkout upcoming events and user meetups on our events page.

Hi Eddie,

 

Thanks for the reply. Can you share the link to the docs you point out? Couldn’t fine a link in the previous message.

 

Think you can also provide a JSON body example that should work with the API?

 

Thanks,

Santi

Hello Santi,

Greetings! I hope you're having a fantastic day!

Just wanted to let you know that it's not currently possible to unset a user from a group. Instead, you can overwrite the group value as described in the documentation, here. The best option here would be to send a Group Identify to change the group association for the user moving forward.

Hope this helps!

-Eddie


P.S. Checkout upcoming events and user meetups on our events page.

 


Reply