Unassign an existing ticket via API

Hi!

Is it possible to unassign an existing ticket via API?

I want to clear the responder_id (the agent id) value (set it to null / not set / empty), but it says that the value should be positive integer. Passing the value as 0, empty or null does not work, sample below.

Hello @emh, I was able to unassign an agent by setting the responder_id to null. My guess is that you might have a field requirement that is interfering with having the ticket sit unassigned. Perhaps the field is a required field based on the status of the ticket? I would check and see if that could be the issue.

Hope that helps

Solved it!

It works when you write the body in raw format. I guess in form-data format it send the “null” as string, not as an actual null.

image

1 Like

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.