Assign users to roles via API

I got a question about the Zammad API.

Is it possible to mofify/work with roles through the API?
I want to assign users to roles via this API, but didn’t found a way to do this… :c

Thanks for your help!

Hi @MarvinKlar. Do you perform direct HTTP calls or how do you access the API? If you’re looking for the HTTP calls you can perform the action in the Browser while having a look at the Developer Tools -> Network panel. The JavaScript app is just an API client, too.

Yeah, the API is only accessable through HTTP. But I didn’t found a way to assign users to roles with the API.

So how should I do this?

Hi @MarvinKlar - as mentioned earlier: You can just look what the frontend (webapp) is doing:

1 Like

awesome, TIL. That would make a handy addition to the docs.

1 Like

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