cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create user by API on BTP subaccount

edb94
Explorer
0 Kudos
1,078

Hello all,

I've been working with BTP lately. In our company we have one global account with multiple subaccounts. We have an application deployed on the subaccount and we have to create several users on that subaccount.

But we do it manually as I show on the image, which can be tedious with large list:

edb94_0-1737119293358.png

Is there a way on doing it by API? If yes, can you show how the call should be?

Thank you very much.

 

Accepted Solutions (0)

Answers (1)

Answers (1)

abiskop
Product and Topic Expert
Product and Topic Expert

Hi @edb94

if you have to perform mass operations on users, I would recommend using the BTP CLI, especially if this is a one-off operation. See this help page for how to specifically manage users and authorizations using the CLI: https://help.sap.com/docs/btp/sap-business-technology-platform/managing-users-and-their-authorizatio...

Another option - if you are familiar with Terraform - would be to use the Terraform Provider for SAP BTP.

Hope that helps.

 

EDIT: If you indeed need or want an API level integration, maybe take a look at the respective APIs for SAP Authorization and Trust Management Service, on SAP Business Accelerator Hub: https://api.sap.com/package/authtrustmgmnt/rest 

edb94
Explorer
0 Kudos

Hello @abiskop,

Thanks for the quick answer! I'll check, but I was wondering if there's some way of doing it by API for example posting it from Integration Suite as I would like to automatize it in some way when it is a large list of users.

Thank you very much.

Best regards.

Ankit_Gupta4
Newcomer
0 Kudos

Hi, 

I am looking for an option to add the user in sap btp subaccount using APIs. If anyone have any idea then please share. 

Regards,

Ankit Gupta