{"status": "error", "message": "The requested resource was not found", "code": "NotFound"}
i think i’m doing something wrong with the division roles. we’ve got some admins who can’t see their schedules in the UI, but the roles look correct in the user profile. it’s super annoying. i tried to push the role grant via API to see if it would force it through, but it just keeps failing.
- Genesys Cloud (Asia/Tokyo region)
- / Quality Management
- Tried calling
POST /api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId} - Checked the user’s division assignments in the admin panel
i think the division ID might be the problem? i’m still kinda confused by how divisions work here. the user has the role globally, but for some reason the division-specific one won’t stick. quick one- is there a difference between the subjectId for a user versus a group when using that endpoint?
the roles are assigned, but the users are still getting “no data” when they open the views. it’s basically doing jack all for them. i tried deleting and re-adding the role using DELETE /api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId} first, but the POST just won’t work.