Available in Classic and VPC
Get the list of all quota policies.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /open-api/v1/policy/list |
Request headers
For information about the headers common to all Organization APIs, see Organization request headers.
Request example
The request example is as follows:
curl --location --request GET 'https://organization.apigw.ntruss.com/open-api/v1/policy/list' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'Accept: application/json'
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
policyNo |
Integer | - | Policy number |
policyName |
String | - | Policy Name |
defaultPolicyYn |
String | - | Default policy status
|
applyCount |
Integer | - | Number of account groups to which the policy is applied |
registrationYmdt |
Integer | - | Policy creation date and time (millisecond)
|
policyDescription |
String | - | Policy Description |
applyGroupNameList |
Array | - | Policy application target list |
modifyYmdt |
Integer | - | Last modification date and time (millisecond)
|
Response status codes
For response status codes common to all Organization APIs, see Organization response status codes.
Response example
The response example is as follows:
[
{
"policyNo": 4925,
"policyName": "Organization_Default_Policy",
"defaultPolicyYn": "Y",
"applyCount": 3,
"registrationYmdt": 1738539893065,
"policyDescription": "Organization_Default_Policy",
"applyGroupNameList": [
"NAVER Cloud Corporation",
"NewAccountGroup",
"NewAccountGroup02"
],
"modifyYmdt": 1738547742046
}
]