Create API Proxy Group
Endpoint
POST /apiops/projects/{projectName}/apiProxyGroups/
Authentication
Requires a Personal API Access Token.
Header
Authorization: Bearer YOUR_TOKEN
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer {token} | Yes |
| Content-Type | application/json | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
Request Body
Full JSON Body Example - Basic API Proxy Group
{
"name": "PaymentAPIGroup",
"description": "Payment API Group",
"clientRoute": {
"relativePathList": [
"/api/v1/payment"
],
"methodList": ["GET", "POST", "PUT", "DELETE"],
"hostList": null,
"headerList": null,
"bufferRequest": true,
"bufferResponse": true
}
}
Full JSON Body Example - API Proxy Group with Host Filtering
{
"name": "RestrictedAPIGroup",
"description": "Restricted API Group",
"clientRoute": {
"relativePathList": [
"/api/v1/restricted"
],
"methodList": ["GET", "POST"],
"hostList": [
"api.example.com",
"api-staging.example.com"
],
"headerList": null,
"bufferRequest": true,
"bufferResponse": true
}
}
Full JSON Body Example - API Proxy Group with Header-Based Routing
{
"name": "VersionedAPIGroup",
"description": "Versioned API Group",
"clientRoute": {
"relativePathList": [
"/api/v1"
],
"methodList": ["ALL"],
"hostList": null,
"headerList": [
{
"name": "X-API-Version",
"value": "v1"
}
],
"bufferRequest": true,
"bufferResponse": true
}
}
Request Body Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | Yes | - | API Proxy Group name (unique identifier) |
| description | string | No | - | API Proxy Group description |
| clientRoute | object | Yes | - | Client route configuration. See Client Route Object |
| environmentName | string | No | - | Environment name to deploy after creation. If provided, the API Proxy Group is automatically deployed to the specified environment |
Client Route Object (clientRoute)
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| relativePathList | array[string] | Yes | - | List of relative paths to match. Must have at least one path, and first path must not be empty |
| methodList | array[string] | No | null | List of HTTP methods to match. See EnumHttpRequestMethod |
| hostList | array[string] | No | null | List of host names to match |
| headerList | array[object] | No | null | List of headers to match. See Header Object |
| bufferRequest | boolean | No | true | Buffer request body |
| bufferResponse | boolean | No | true | Buffer response body |
EnumHttpRequestMethod (methodList)
GET- HTTP GET methodPOST- HTTP POST methodPUT- HTTP PUT methodHEAD- HTTP HEAD methodOPTIONS- HTTP OPTIONS methodDELETE- HTTP DELETE methodPATCH- HTTP PATCH methodTRACE- HTTP TRACE methodALL- All HTTP methods
Header Object (headerList)
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Header name (case-insensitive) |
| value | string | Yes | Header value to match |
Notes
namemust be unique within the projectclientRoute.relativePathListmust have at least one path- First path in
relativePathListmust not be empty - At least one route configuration (path, host, header, or method) must be provided
- Paths must be at least 2 characters long