Legacy Dev Forum Posts

 View Only

Sign Up

Query about User API used to update profile sections

  • 1.  Query about User API used to update profile sections

    Posted 06-05-2025 18:21

    Han.FA | 2022-03-01 12:00:41 UTC | #1

    Hi,

    I have a query on user API:

    1. Is there an API that would allow us creating/adding a new custom profile section other than ones available by default https://help.mypurecloud.com/articles/add-a-section-to-your-profile/

    Currently adding custom section can be done manually from admin >> Directory >> Profile Fields >> add Sections https://help.mypurecloud.com/articles/add-section-profile-configuration/

    1. Also, would it be possible to update this newly created section using an API?

    I am able update the newly created section after I manually add it but found that the API I am using might be depreciated, see below:

    I am sharing my test finding here:

    Example, I manually created new section, named it School.

    I am able to update it using this endpoint in POSTMAN using "PUT /api/v2/users/{userId}/profile".

    Note: Documentation states that GET /api/v2/users/{userId}/profile is depreciated in https://developer.genesys.cloud/api/rest/v2/users/#patch-api-v2-users--userId

    Does the same apply to PUT request too? or the depreciation specific to GET /api/v2/users/{userId}/profile.

    PATCH /api/v2/users/{userId} is mentioned in the documentation to Update user but does not seem to do that for profile sections.


    system | 2022-03-31 13:22:37 UTC | #2

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


    This post was migrated from the old Developer Forum.

    ref: 13730