Console API
  1. Iam
Console API
  • User
    • User Info
      GET
  • Tenant / Regions
    • Get Regions & Tenant info
      GET
    • Get Tenant Info
      GET
  • VPC
    • Get VPC List
      GET
    • Rename VPC
      PUT
  • Images
    • Get images
      GET
  • Flavors
    • Get flavors
      GET
  • Storage Policy
    • List
      GET
  • Instances
    • List
      GET
    • Detail
      GET
    • Security Group
      GET
    • Create instance
      POST
    • Power off
      POST
    • Reboot
      POST
    • Power on
      POST
    • Terminate
      POST
    • Resize
      POST
    • Lock Termination
      POST
    • Rename
      POST
    • Manage tag
      POST
  • Subnet
    • List
    • Create
    • Rename
    • Delete
    • Manage tags
  • Security group
    • Security Group List
    • Security Group Detail
    • Rule Types
    • Create Security Group
    • Create Rule
    • Apply to private ip
    • Delete Rule
    • Delete security group
    • Manage tag
  • Floating IP
    • List
    • Allocate
    • Connect to instance
    • Disconnect
    • Release
    • Manage tag
  • Activity Logs
    • List
  • Tags
    • Lists
  • Iam
    • Add user to user group
      POST
    • Get all user groups
      GET
    • Create user group
      POST
    • Update user group
      PUT
    • Get roles
      GET
    • Get user vpcs
      GET
  • Billing
    • Bill
      • Get bills by date
      • Get Bills by paging
      • Bill Info
      • Bill service types
  • Project
    • Get projects
  • S3
    • Get bucket policy
    • List buckets
    • Get s3 service enabled
  1. Iam

Create user group

POST
api/v1/vmware/vpc/{vpc_id}/iam/user-group/create

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
vpc_id
string 
required
Body Params application/json
name
string 
required
description
string 
optional
roleIds
array[string]
required
resourceIds
array[string]
optional
userEmails
array[string]
optional
Example
{
    "name": "user group name",
    "description": "Optional",
    "roleIds": [
        "0a6c683c-12a0-422f-8cea-bec535114a9f"
    ],
    "resourceIds": [
        "57cbf623-465c-4ba9-88a5-569869f6f8f0"
    ],
    "userEmails": [
        "userA@email.com.vn"
    ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'api/v1/vmware/vpc//iam/user-group/create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "user group name",
    "description": "Optional",
    "roleIds": [
        "0a6c683c-12a0-422f-8cea-bec535114a9f"
    ],
    "resourceIds": [
        "57cbf623-465c-4ba9-88a5-569869f6f8f0"
    ],
    "userEmails": [
        "userA@email.com.vn"
    ]
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-09-16 07:47:15
Previous
Get all user groups
Next
Update user group
Built with