Get CORS Policy
getCorsPolicyRetrieve a CORS policy by its unique ID from the PingOne Advanced Identity Cloud environment. Returns the full policy including origins, methods, headers, and allowCredentials status.
Instructions
Retrieve a single CORS policy by its ID from the global AM CorsService. Returns the full policy including origins, methods, headers, maxAge, allowCredentials, and enabled status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"policyId": "<policyId>"
},
"name": "getCorsPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policyId | Yes | The unique identifier of the CORS policy |