Console API
  1. Security group
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
      GET
    • Security Group Detail
      GET
    • Rule Types
      GET
    • Create Security Group
      POST
    • Create Rule
      POST
    • Apply to private ip
      POST
    • Delete Rule
      POST
    • Delete security group
      DELETE
    • Manage tag
      POST
  • Floating IP
    • List
    • Allocate
    • Connect to instance
    • Disconnect
    • Release
    • Manage tag
  • Activity Logs
    • List
  • Tags
    • Lists
  • Iam
    • Add user to user group
    • Get all user groups
    • Create user group
    • Update user group
    • Get roles
    • Get user vpcs
  • 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. Security group

Apply to private ip

Developing
POST
/api/v1/vmware/vpc/{vpc_id}/security-group/{security_group_id}/associate-instances

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
security_group_id
string 
required
Header Params
OrgId
string 
required
Body Params application/json
ip_address
array[string]
required
Example
{
    "ip_address": [
        "10.155.194.44",
        "10.155.194.223"
    ]
}

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//security-group//associate-instances' \
--header 'OrgId;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ip_address": [
        "10.155.194.44",
        "10.155.194.223"
    ]
}'

Responses

🟢200Success
application/json
Body
success
boolean 
required
Example
{"success":true}
Modified at 2024-01-15 19:50:47
Previous
Create Rule
Next
Delete Rule
Built with