ApiPolicies
Filter is matched against name, description and endpoints associated with the policy.
Success
GET /api/v1/api-policies HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
Success
{
"data": [
{
"id": 1,
"name": "text",
"description": "text"
}
]
}
The name of the policy
The description of the policy
The tags of the policy
Determines if public access is allowed
The name of the API key
API policy created
API policy is invalid (check for duplicate endpoints)
API policy contains endpoint that is already registered in existing policy
POST /api/v1/api-policies HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 941
{
"name": "text",
"description": "text",
"tags": [
"text"
],
"allowPublicAccess": true,
"apiKeyName": "text",
"apiKeyLocation": "Query",
"targetEndpoints": [
{
"requestLimit": 1,
"requestLimitWindowInMinutes": 1,
"path": "text",
"method": "All"
}
],
"identities": [
{
"requestLimit": 1,
"requestLimitWindowInMinutes": 1,
"isPrivateApplication": true,
"issuers": [
"text"
],
"name": "text",
"throttlingByClaim": "text",
"priorityNumber": 1,
"id": 1,
"identityRules": [
{
"ruleType": "Allow",
"claim": "text",
"value": "text",
"matchType": "Exact"
}
],
"deployments": [
{
"agentGroupName": "text"
}
]
}
],
"apiKeyGroups": [
{
"requestLimit": 1,
"requestLimitWindowInMinutes": 1,
"name": "text",
"apiPolicyApiKeyGroupAssignments": [
{
"apiKey": {
"id": 1
}
}
]
}
],
"publicAccessDeployments": [
{
"agentGroupName": "text"
}
],
"requestLoggingOptions": [
{
"name": "text",
"loggingFields": [
"text"
],
"ipLogging": "ClientIP",
"requestBodyMaxLengthKb": 1,
"responseBodyMaxLengthKb": 1,
"disableLogging": true,
"id": 1,
"deployments": [
{
"agentGroupName": "text"
}
]
}
]
}
No content
API policy identifier
Success
API policy not found
GET /api/v1/api-policies/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"name": "text",
"description": "text",
"tags": [
"text"
],
"allowPublicAccess": true,
"apiKeyName": "text",
"apiKeyLocation": "Query",
"id": 1,
"uniqueIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"modifier": "text",
"modifiedUtc": "2025-09-07T10:04:04.464Z",
"targetEndpoints": [
{
"requestLimit": 1,
"requestLimitWindowInMinutes": 1,
"path": "text",
"method": "All",
"id": 1
}
],
"identities": [
{
"requestLimit": 1,
"requestLimitWindowInMinutes": 1,
"isPrivateApplication": true,
"issuers": [
"text"
],
"name": "text",
"throttlingByClaim": "text",
"priorityNumber": 1,
"id": 1,
"identityRules": [
{
"id": 1,
"ruleType": "Allow",
"claim": "text",
"value": "text",
"matchType": "Exact"
}
],
"deployments": [
{
"agentGroupName": "text",
"id": 1,
"deployerUserName": "text",
"deployedUtc": "2025-09-07T10:04:04.464Z"
}
]
}
],
"apiKeyGroups": [
{
"requestLimit": 1,
"requestLimitWindowInMinutes": 1,
"name": "text",
"id": 1,
"apiPolicyApiKeyGroupAssignments": [
{
"id": 1,
"apiKey": {
"id": 1,
"name": "text",
"environment": "text",
"value": "123e4567-e89b-12d3-a456-426614174000"
}
}
]
}
],
"publicAccessDeployments": [
{
"agentGroupName": "text",
"id": 1,
"deployerUserName": "text",
"deployedUtc": "2025-09-07T10:04:04.464Z"
}
],
"requestLoggingOptions": [
{
"name": "text",
"loggingFields": [
"text"
],
"ipLogging": "ClientIP",
"requestBodyMaxLengthKb": 1,
"responseBodyMaxLengthKb": 1,
"disableLogging": true,
"id": 1,
"deployments": [
{
"agentGroupName": "text",
"id": 1,
"deployerUserName": "text",
"deployedUtc": "2025-09-07T10:04:04.464Z"
}
]
}
]
}
}
API policy identifier
The name of the policy
The description of the policy
The tags of the policy
Determines if public access is allowed
The name of the API key
API policy updated
No content
API policy is invalid
API policy not found
API policy contains endpoint that is already registered in existing policy
PUT /api/v1/api-policies/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 941
{
"name": "text",
"description": "text",
"tags": [
"text"
],
"allowPublicAccess": true,
"apiKeyName": "text",
"apiKeyLocation": "Query",
"targetEndpoints": [
{
"requestLimit": 1,
"requestLimitWindowInMinutes": 1,
"path": "text",
"method": "All"
}
],
"identities": [
{
"requestLimit": 1,
"requestLimitWindowInMinutes": 1,
"isPrivateApplication": true,
"issuers": [
"text"
],
"name": "text",
"throttlingByClaim": "text",
"priorityNumber": 1,
"id": 1,
"identityRules": [
{
"ruleType": "Allow",
"claim": "text",
"value": "text",
"matchType": "Exact"
}
],
"deployments": [
{
"agentGroupName": "text"
}
]
}
],
"apiKeyGroups": [
{
"requestLimit": 1,
"requestLimitWindowInMinutes": 1,
"name": "text",
"apiPolicyApiKeyGroupAssignments": [
{
"apiKey": {
"id": 1
}
}
]
}
],
"publicAccessDeployments": [
{
"agentGroupName": "text"
}
],
"requestLoggingOptions": [
{
"name": "text",
"loggingFields": [
"text"
],
"ipLogging": "ClientIP",
"requestBodyMaxLengthKb": 1,
"responseBodyMaxLengthKb": 1,
"disableLogging": true,
"id": 1,
"deployments": [
{
"agentGroupName": "text"
}
]
}
]
}
No content
Was this helpful?