Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Gamification profile - remove all users using POST /api/v2/gamification/profiles/{profileId}/members

    Posted 06-10-2025 15:20

    Hello, 

    I am trying to remove all users assigned to a specific Gamification profile using POST /api/v2/gamification/profiles/{profileId}/members but I am getting the below error. 


    #PlatformAPI

    ------------------------------
    Connor Maxwell
    -
    ------------------------------


  • 2.  RE: Gamification profile - remove all users using POST /api/v2/gamification/profiles/{profileId}/members

    Posted 06-11-2025 14:41

    Hi Connor,

    Wildcard operations aren't supported by that API. You can review what's supported in our Gamification APIs documentation.

    However, this is easy to accomplish using our UI by clicking this box to select all profile members, then 'Remove Selected'.



    ------------------------------
    Eduard Roehrich
    Staff Product Manager
    ------------------------------



  • 3.  RE: Gamification profile - remove all users using POST /api/v2/gamification/profiles/{profileId}/members

    Posted 06-12-2025 09:12
    Edited by Eduard Roehrich 06-12-2025 09:12

    Connor, if you want to do this via API not through the UI, an alternative might be to use /api/v2/gamification/profiles/{profileId}/deactivate to deactivate the profile. This should remove all agents currently assigned to the profile. You can then (optionally) use /api/v2/gamification/profiles/{profileId}/activate to activate it again.

    Let me know if either of the suggestions here worked for you!



    ------------------------------
    Eduard Roehrich
    Staff Product Manager
    ------------------------------