Retrieves a list of secutity groups for the specified account
GET/v1/clouds/tencent/regions/:region/securitygroups
Retrieves a list of secutity groups for the specified account
Request
Path Parameters
region stringrequired
Region for which security groups are requested
Query Parameters
cloudAccountUid stringrequired
Uid for the specific Tencent cloud account
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
(empty)
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
groups
object[]
idstring
Tencent security group id
isDefaultboolean
Whether it is the default security group, the default security group does not support deletion.
namestring
Tencent security group name
projectIdstring
Tencent security group associated to a project
{
"groups": [
{
"id": "string",
"isDefault": true,
"name": "string",
"projectId": "string"
}
]
}
Loading...