Samuel_Urquhart | 2022-06-02 21:04:44 UTC | #1
Hey Team,
I'm having trouble finding any documentation in regards to adding users to management units. There's the endpoint for simply getting the users in a management unit found here, but I don't see anything about adding or removing an agent from a management unit.
If I manually add or remove a user through Genesys Cloud and look at the console log, I'm still not seeing any specific PATCH/PUT/POST/DELETE requests that point me in the right direction. Is this intended or am I not looking in the right places?
I've been primarily using the Python SDK and have been able to find everything else, but I'm stumped on this.
Eos_Rios | 2022-06-02 22:19:12 UTC | #2
If I manually add or remove a user through Genesys Cloud and look at the console log, I'm still not seeing any specific PATCH/PUT/POST/DELETE requests that point me in the right direction. Is this intended or am I not looking in the right places?
The site uses a non public platform API;
POST /platform/api/v2/workforcemanagement/agents
{"userIds":["uuid1", "uuid2"],"destinationManagementUnitId":"muid"}
There is no official published public API for it I am aware of.
John_Carnell | 2022-06-06 13:51:01 UTC | #3
Becky_Powell | 2022-06-08 13:50:05 UTC | #4
Samuel and Eos, I have brought this to the attention of the dev team that owns this resource - they are going to make this API publicly available. Thanks for raising the concern!
This post was migrated from the old Developer Forum.
ref: 14994