Console API
  1. Security group
Console API
  • User
    • User Info
      GET
    • Ssh keys
      GET
  • IAM
    • Add user to user group
      POST
    • Create user group
      POST
    • Get roles
      GET
    • Get all user groups v2
      GET
    • Create user group v2
      PUT
    • Detail user group v2
      GET
    • Update user group v2
      PUT
    • Delete a user group v2
      DELETE
    • Get roles v2
      GET
    • Detail role v2
      GET
    • Delete a Role v2
      DELETE
    • Get user list of all VPCs
      GET
  • Tenant / Regions
    • Get Regions & Tenant info
      GET
    • Get Tenant Info
      GET
  • Project
    • Get project list
    • Create Project
    • Detail Project
    • Delete Project
  • VPC
    • Get VPC List (Tenant Owner)
    • Get VPC List
    • Rename VPC
    • Create VPC
    • Delete VPC
    • Get VPC Quota
    • Check user can create VPC
    • Get VPCs of User v2
  • Images
    • Get images
  • Flavors
    • Get flavors
  • Storage Policy
    • List
  • Instances
    • List
    • Detail
    • Security Group
    • Create instance
    • Power off
    • Reboot
    • Power on
    • Terminate
    • Resize
    • Lock Termination
    • Rename
    • Manage tag
    • Check VPC enable NVME
    • Get Monitor performance url
  • 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
    • Get application ports
      GET
    • Get quota Security Group
      GET
  • Floating IP
    • List
    • Allocate
    • Connect to instance
    • Disconnect
    • Release
    • Manage tag
  • Activity Logs
    • List
  • Tags
    • Lists
  • Billing
    • Bill
      • Get bills by date
      • Get Bills by paging
      • Bill Info
      • Bill service types
  • S3
    • Get bucket policy
    • List buckets
    • Get s3 service enabled
  • IP Access
    • API Portal Access Log
  • Metal Cloud
    • Bare Metal Servers
      • List all servers
      • Get server details
      • Get server console URL
      • Create server (V2)
      • Create server (V1)
      • Rename a server (Portal name)
      • Power on a server
      • Power off a server
      • Delete a server
    • Subnets
      • Get an available subnet
      • Create a subnet
      • List all subnets
      • Delete a subnet
      • Update a subnet
    • Network ACLs
      • List all network ACLs
      • Update a network ACL
      • Get a network ACL details
      • List all rule groups of a Network ACL
      • List all rules of a group (Network ACL)
      • Update a rule of a network ACL
    • OS images
      • List all public images
      • List all custom images
      • Upload a new custom image to S3
      • Get presigned upload URLs
      • Upload a custom image from S3 to FPT image repository
      • Delete a custom image
      • Sync an image to Console (Portal)
    • Server flavors
      • Quota list
      • Get list server flavors
  • Storage Disk
    • Create Storage Disk
    • List Storages
    • Update
    • Create snapshot
    • Tagging
    • Attach
    • Detach
    • Delete
  • Instance Group
    • Create
    • Get policies
    • Get Instance groups
    • Delete
  • Instance Schedule
    • Create
    • List
    • Update instance apply
    • Detail
    • Delete
  • VPN
    • Create
    • List
    • Update instance apply
    • Detail
    • Delete
  • Task
    • Mark as read
  • Edge Gateway
    • Get list edge gateways
  • Schemas
    • Sample Schemas
      • CreateInstanceSchema
      • Pet
      • Category
      • Tag
    • Metal Cloud
      • Request
      • Bare Metal Server details
      • Subscription
      • Package details
      • Image
  1. Security group

Security Group List

Developing
GET
/api/v1/vmware/vpc/{vpc_id}/security-groups

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Query Params

Header Params

Request Code 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 GET '/api/v1/vmware/vpc//security-groups?page=1&page_size=25&sort_field=&sort_order=' \
--header 'OrgId;' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
{
    "data": [
        {
            "id": "56be9054-69a4-47e4-be72-16ab58acb1d0",
            "name": "default",
            "display_name": "Default security group",
            "ip_addresses": [
                "10.155.194.147",
                "10.155.194.147",
                "10.155.194.223",
                "10.155.194.44"
            ],
            "instances": [
                {
                    "id": "9b589916-c643-4dd8-a010-3ce247cb11a4",
                    "name": "vm-24010294556",
                    "status": "POWERED_OFF",
                    "ip_address": "10.155.194.44",
                    "type": "instance"
                },
                {
                    "id": "ca5c5fbb-d1f8-4982-8ceb-8e9860f5da70",
                    "name": "vm-24010294556",
                    "status": "POWERED_OFF",
                    "ip_address": "10.155.194.223",
                    "type": "instance"
                },
                {
                    "id": "9d5b5f9a-9d8b-495b-992b-70e32ae23f85",
                    "name": "vm-24011025449-202411",
                    "status": "POWERED_ON",
                    "ip_address": "10.155.194.147",
                    "type": "instance"
                }
            ],
            "created_at": "2024-01-02T13:57:22",
            "edge_gateway": null,
            "is_vdc_group": false,
            "rules": [
                {
                    "id": "9f5f9cf3-c4d6-4db6-a1cf-1f920ff7f8b7",
                    "firewall_rule_id": "6d54d92ab5834cefa3b78098bcbb548e",
                    "vpc_id": "aa0e66e0-3486-4724-a670-b5a4a758484e",
                    "edge_gateway_id": "fb410b57180a45c0ba02e240088ceec7",
                    "name": "6d54d92a-b583-4cef-a3b7-8098bcbb548e",
                    "enabled": "True",
                    "action": "ALLOW",
                    "source_firewall_group_id": "56be9054-69a4-47e4-be72-16ab58acb1d0",
                    "destination_firewall_group_id": "56be9054-69a4-47e4-be72-16ab58acb1d0",
                    "application_port_profile_id": "None",
                    "created_at": "2024-01-02 13:57:26",
                    "updated_at": "2024-01-10 08:29:51",
                    "is_deleted": "False",
                    "status": "REALIZED",
                    "description": "",
                    "source": "None",
                    "index": "None",
                    "comment": "None"
                },
                {
                    "id": "c5b13d56-57fe-435e-981e-cfbc85e94dad",
                    "firewall_rule_id": "df4111388ab243ba92293c899cdce096",
                    "vpc_id": "aa0e66e0-3486-4724-a670-b5a4a758484e",
                    "edge_gateway_id": "fb410b57180a45c0ba02e240088ceec7",
                    "name": "df411138-8ab2-43ba-9229-3c899cdce096",
                    "enabled": "True",
                    "action": "ALLOW",
                    "source_firewall_group_id": "56be9054-69a4-47e4-be72-16ab58acb1d0",
                    "destination_firewall_group_id": "56be9054-69a4-47e4-be72-16ab58acb1d0",
                    "application_port_profile_id": "None",
                    "created_at": "2024-01-02 13:57:26",
                    "updated_at": "2024-01-10 08:29:51",
                    "is_deleted": "False",
                    "status": "REALIZED",
                    "description": "",
                    "source": "None",
                    "index": "None",
                    "comment": "None"
                }
            ],
            "status": "REALIZED",
            "firewall_group_id": "a4fcaa451cbb4ed3a8e1ff7e923f6390",
            "has_firewall_ip_address": true,
            "tags": [
                {
                    "id": "bea8782e-de99-46ac-b3c1-70dd8408728f",
                    "key": "Test_tagging2",
                    "value": "123457!@#$%&*abc",
                    "color": "#e7a600",
                    "tenant_org_id": "59409b9c-a19d-4b84-abae-aff8de042ded",
                    "created_by": "6c73d2db-5782-4373-a766-a190a2748858",
                    "updated_by": "6c73d2db-5782-4373-a766-a190a2748858",
                    "created_at": "2024-05-17T15:57:14",
                    "updated_at": "2024-05-20T08:32:00",
                    "is_deleted": false
                }
            ]
        },
        {
            "id": "97edd52a-67c5-4668-92af-0a568c599afe",
            "name": "security-group-1288-0v12zm88",
            "display_name": "security-group-1288",
            "ip_addresses": [
                "10.155.194.44"
            ],
            "instances": [
                {
                    "id": "9b589916-c643-4dd8-a010-3ce247cb11a4",
                    "name": "vm-24010294556",
                    "status": "POWERED_OFF",
                    "ip_address": "10.155.194.44",
                    "type": "instance"
                }
            ],
            "created_at": "2024-01-02T18:20:01",
            "edge_gateway": null,
            "is_vdc_group": false,
            "rules": [
                {
                    "id": "fc2ff3b4-cb0a-4b23-bcb3-04665f1f4a67",
                    "firewall_rule_id": "ad3b6981638241d587701b230fe7f223",
                    "vpc_id": "aa0e66e0-3486-4724-a670-b5a4a758484e",
                    "edge_gateway_id": "fb410b57180a45c0ba02e240088ceec7",
                    "name": "portal__empty_name_oo0eo7cr",
                    "enabled": "True",
                    "action": "ALLOW",
                    "source_firewall_group_id": "c1695859-df93-4fa2-bc6f-409142b521f1",
                    "destination_firewall_group_id": "97edd52a-67c5-4668-92af-0a568c599afe",
                    "application_port_profile_id": "4eb99d82-3558-459a-bfdc-f50653b8c6fc",
                    "created_at": "2024-01-02 18:35:21",
                    "updated_at": "2024-01-10 08:29:51",
                    "is_deleted": "False",
                    "status": "REALIZED",
                    "description": "00",
                    "source": "123.21.99.143",
                    "index": "-99",
                    "comment": "None"
                }
            ],
            "status": "REALIZED",
            "firewall_group_id": "5cc654b4c8c04b86b476769dece70bdb",
            "has_firewall_ip_address": true,
            "tags": []
        }
    ],
    "total": 2
}
Modified at 2024-05-24 07:26:00
Previous
Manage tags
Next
Security Group Detail
Built with