Link/Unlink queue via API call

Hello,

I was wondering if there’s a way to link and unlink queues with folders, via the API.
I checked what documentation I could find and also tried playing around a little with Swagger. I noticed that the “FoldersCount” property of the “QueueDefinitionDto” changes based on how many folders the queue is linked to.

What I’d like to achieve is creating an API call, or multiple calls, if need be, with which to be able to link a queue present in Folder A to a Folder B and then unlink it from Folder A.

Kind regards,
Andrei

1 Like

Hey @andrei.lazar

You need first do two API calls to fetch queue is and folder id(s) in which you need to link or unlink.

Then you can use the below endpoint to perform actual linking or unlinking.

Hope this helps

Thanks
#nK

1 Like

Somehow… I missed the ShareToFolders endpoint. :sweat_smile:

Thank you very much @Nithinkrishna!

1 Like

Cool @andrei.lazar :slightly_smiling_face::+1:

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