Groups Api List Group Policies

Groups Api List Group Policies
List a Group's Policies

Returns the Policies attached to the Group in priority order. Accessible to every authenticated role.

Request
URI
GET
https://{api_host}/api/v1/groups/{id}/policies
COPY
Path Parameters
integer
id
Required  

Security Group id

id example
1

Authentication
This operation uses the following authentication methods.
Responses
200

200 OK successful response envelope. The Policies attached to the Group

[
    {
        "securityGroupId": 1,
        "policyId": 1,
        "policyName": "Baseline Policy",
        "stackRank": 1,
        "groupCount": 2,
        "ruleCount": 14,
        "publishedVersion": 3,
        "boundAt": "2026-01-02T09:30:00Z",
        "boundBy": 1
    },
    {
        "securityGroupId": 1,
        "policyId": 2,
        "policyName": "Production Policy",
        "stackRank": 2,
        "groupCount": 1,
        "ruleCount": 6,
        "publishedVersion": 2,
        "boundAt": "2026-01-05T10:30:00Z",
        "boundBy": 2
    }
]
array of object
Optional

A Policy attached to a Group, in priority order.


400

400 Bad Request: INVALID_ARGUMENT when the id path variable is not a number

Returns ApiErrorResponse of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


401

401 Unauthorized: UNAUTHENTICATED when the VTP_SESSION cookie is missing, unknown, expired or revoked

Returns Unauthenticated of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


404

404 Not Found: SECURITY_GROUP_NOT_FOUND

Returns ApiErrorResponse of type(s) application/json
{
    "errorCode": "string",
    "message": "string",
    "path": "string",
    "timestamp": "string",
    "reason": "string"
}
errorCode
Required  

Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.

string
message
Required  

Human-readable error description

string
path
Required  

Request URI path that produced the error

string As date-time As date-time
timestamp
Required  

Timestamp when the error occurred as an ISO 8601 date-time with offset

string
reason
Optional

A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v1/groups/{id}/policies