APIs & Integrations

SN57
Member

User Provisioning - Role

SOLVE

Can I create user with Super Admin role using API and Can I get roles using API?

0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Community Manager
Community Manager

User Provisioning - Role

SOLVE

Hey, @SN57 Thanks for your question!

 

Here are the answers:

  • Q1 – you'll have to either create the user with no role and then convert to Super Admin in-app after or create the user in-app and assign it the Super Admin upon creation
  • Q2 – You can make a request to the Roles endpoints 
    GET /settings/v3/users/roles​

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

View solution in original post

1 Reply 1
Jaycee_Lewis
Solution
Community Manager
Community Manager

User Provisioning - Role

SOLVE

Hey, @SN57 Thanks for your question!

 

Here are the answers:

  • Q1 – you'll have to either create the user with no role and then convert to Super Admin in-app after or create the user in-app and assign it the Super Admin upon creation
  • Q2 – You can make a request to the Roles endpoints 
    GET /settings/v3/users/roles​

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot