Description: The customer would like to create multiple Users via Cloud API.
Resolution: You may need to create your Cloud API credentials first. If you haven't, you can create your Cloud API Credentials from your CloudConnexa Admin Portal > My Account > Cloud API > Create Credentials(see below the sample screenshots).
Note: You can enable Basic Auth only by request. If you want to use Basic Auth instead of OAuth, contact the CloudConnexa support team at cloud-support@openvpn.net or open a request in the portal at http://support.openvpn.net.
Once It's created, copy the Key and Secret which you will use as your Credentials to the Swagger (see the screenshot below).
From your Swagger, click Authorize and use your Key and Secret to login.
Step 1:
From Swagger, go to User > POST /api/beta/users/create > Try it out
Step 2:
Modify the editable JSON body > you can use the sample Values used in this scenario > Execute
[
{
"authType": "INTERNAL",
"groupId": "e245919d-7915-49de-bd3d-0e794fadab6e",
"firstName": "VPN",
"lastName": "User11",
"username": "vpn-user11",
"status": "ACTIVE",
"id": "vpn-user11@ninotrajano"
},
{
"authType": "INTERNAL",
"groupId": "e245919d-7915-49de-bd3d-0e794fadab6e",
"firstName": "VPN",
"lastName": "User12",
"username": "vpn-user12",
"status": "ACTIVE",
"id": "vpn-user12@ninotrajano"
}
]
Step 3:
Check from your CloudConnexa Admin Portal > Users > Users . Verify whether the new users are showing.
Comments
0 comments
Please sign in to leave a comment.