APIs & Integrations

tfujita
Mitglied

User Provisioning with pre-configured role templates

lösung

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?

 

303BFAA0-7E64-41EC-8707-AA837CB41107.jpg

0 Upvotes
1 Akzeptierte Lösung
rhenry
Lösung
HubSpot Employee
HubSpot Employee

User Provisioning with pre-configured role templates

lösung

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. 


Rahmona Henry

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
tfujita
Mitglied

User Provisioning with pre-configured role templates

lösung

Thank you so much

0 Upvotes
rhenry
Lösung
HubSpot Employee
HubSpot Employee

User Provisioning with pre-configured role templates

lösung

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. 


Rahmona Henry