Check for current logged-in user to update fields on Zendesk ticket | Community
Skip to main content

Check for current logged-in user to update fields on Zendesk ticket

  • September 26, 2022
  • 1 reply
  • 0 views

Manisha12

I have written a code to update ticket fields using api. But before updating field, I want to check if user has the permission to update ticket field. I have searched for my api but nothing worked.
Can we have any hit for same?

1 reply

Tipene
  • September 27, 2022

Hi @manisha12,

The Users API might be helpful for your use case. Specifically, the role attribute which describes the permissions available to the user profile. Here's a link to the documentation which goes in to more detail:

https://developer.zendesk.com/api-reference/ticketing/users/users/

I hope this helps!

Tipene