Recent searches
No recent searches
Adding a User to a New Org but still keeping them in all of their current orgs
Posted May 17, 2024
I have a problem where I am trying to add an end user to an org that is new for that user based on a tag that appears on a ticket.
I have all of logic working to a degree from a webhook and then using a zendesk trigger to finish the job, but the problem I am having is that when I run this, it removes the end user from any org they were a member of and then adds the one I wanted to add.
I need to change this so that the user does not lose previous orgs but gains a new one.
Thoughts? I have tried PUT, PATCH, and POST but all 3 give the same reseult
0
1
1 comment
Charles Nadeau
Hi Matt, just today we made an update to the dev docs explaining this issue:
https://developer.zendesk.com/api-reference/ticketing/users/users/#organization-id
In other words, when updating the user, leave the organization_id blank and make a separate request with the Create Membership endpoint to assign the user to the new organization.
0