Ana içeriğe atla

Endpoint

Authentication

Requires a Personal API Access Token.

Request

Headers

Path Parameters

Request Body

Full JSON Body Example - Basic API Proxy Group

Full JSON Body Example - API Proxy Group with Host Filtering

Full JSON Body Example - API Proxy Group with Header-Based Routing

Request Body Fields

Client Route Object (clientRoute)

EnumHttpRequestMethod (methodList)

  • GET - HTTP GET method
  • POST - HTTP POST method
  • PUT - HTTP PUT method
  • HEAD - HTTP HEAD method
  • OPTIONS - HTTP OPTIONS method
  • DELETE - HTTP DELETE method
  • PATCH - HTTP PATCH method
  • TRACE - HTTP TRACE method
  • ALL - All HTTP methods

Header Object (headerList)

Notes

  • name must be unique within the project
  • clientRoute.relativePathList must have at least one path
  • First path in relativePathList must not be empty
  • At least one route configuration (path, host, header, or method) must be provided
  • Paths must be at least 2 characters long

Response

Success Response (200 OK)

Without environmentName:
With environmentName (includes deployment result):

Error Response (400 Bad Request)

or
or
or
or

Common Causes

  • Missing required fields (name, clientRoute)
  • Empty relativePathList or empty first path
  • API Proxy Group name already exists
  • Invalid client route configuration

cURL Example

Example 1: Create Basic API Proxy Group

Example 2: Create API Proxy Group with Automatic Deployment

Example 3: Create API Proxy Group with Host Filtering

Notes and Warnings

  • Name Uniqueness:
    • API Proxy Group name must be unique within the project
    • If name already exists, creation will fail
  • Client Route:
    • Client route is required
    • Must have at least one relative path
    • First path must not be empty
    • Paths must be at least 2 characters long
  • Route Matching:
    • Route matching uses AND logic
    • All specified conditions must match

Permissions

  • User must have API_MANAGEMENT + MANAGE permission in the project
  • If environmentName is provided, user must also have API_MANAGEMENT + DEPLOY_UNDEPLOY permission
  • Default Settings:
    • CORS settings, cache settings, and error templates are created with defaults
    • Can be configured after creation