We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Jan 27, 2022 7:34 AM - edited Jan 27, 2022 7:35 AM
In POST/settings/v3/users/ is it possible to select from pre-configured role templates which is one of the option when creating an account on UI?
Solved! Go to Solution.
Jan 31, 2022 4:42 AM - edited Jan 31, 2022 4:44 AM
Hello @tfujita ,
If the default role (pre-configured) template is saved as a 'custom role' in the UI then integrators can use the 'Retrieves the roles on an account' endpoint: GET /settings/v3/users/roles to retrieve the role Id.
You can then use the role Id along with the 'Adds a user' endpoint: POST
/settings/v3/users/ to assign the role to a user.
If you have any follow up questios, just let me know.
Feb 8, 2022 1:57 AM
Thank you so much
Jan 31, 2022 4:42 AM - edited Jan 31, 2022 4:44 AM
Hello @tfujita ,
If the default role (pre-configured) template is saved as a 'custom role' in the UI then integrators can use the 'Retrieves the roles on an account' endpoint: GET /settings/v3/users/roles to retrieve the role Id.
You can then use the role Id along with the 'Adds a user' endpoint: POST
/settings/v3/users/ to assign the role to a user.
If you have any follow up questios, just let me know.