Genesys Cloud - Main

 View Only

Sign Up

  • 1.  Anyone able to help with SCIM PATCH user API (/api/v2/users/v2/users/{userId})

    Posted 8 days ago

    Hello community,

    I am trying to use the SCIM PATCH user API to add/remove the roles of an existing user but all it does is return the existing roles for the user and does not add or remove the ones that I want.

    Here is the request;
    and the response showing existing role only

    I am not sure what is missing and hope I can get some help from the community.

    Regards


    #API/Integrations

    ------------------------------
    Vineet Kakroo
    Senior Technical Consultant
    ------------------------------


  • 2.  RE: Anyone able to help with SCIM PATCH user API (/api/v2/users/v2/users/{userId})
    Best Answer

    Posted 8 days ago

    Got the fix from support. Its a complex JSON for this API and documentation is not great either. The body now looks like;


    The values element is the complex one.



    ------------------------------
    Vineet Kakroo
    Senior Technical Consultant
    ------------------------------