Ana içeriğe atla

Endpoint

Update from URL

Update from File

Authentication

Requires a Personal API Access Token.

Request

Headers

Path Parameters

Request Body

The request body structure is identical to Create API Proxy from URL or Create API Proxy from File, with the following differences:

Key Differences for Update

  1. reParse: Set reParse: true to update an existing API proxy
  2. API Proxy Must Exist: The API proxy with the specified name must already exist
  3. Type Consistency: The apiProxyCreationType must match the original type
  4. Description: If apiProxyDescription is empty, the existing description is preserved
  5. Body Read Behavior: If requestBodyReadBehavior or responseBodyReadBehavior is not provided, existing values are preserved

Full JSON Body Example (Update from URL)

Response

Success Response (200 OK)

Response Fields

Error Response (400 Bad Request)

Common Causes

  • API Proxy name does not exist (must create first)
  • API Proxy creation type mismatch (cannot change type)
  • Invalid specification URL or file
  • SOAP to REST transformation not allowed (if original was SOAP without transformation)
  • Missing required fields

Error Response (401 Unauthorized)

Error Response (404 Not Found)

cURL Example

Example 1: Update API Proxy from URL

Example 2: Update API Proxy from File

Example 3: Update and Deploy

Notes and Warnings

  • API Proxy Must Exist: The API proxy with the specified name must already exist. Use Create endpoints to create new API proxies.
  • Type Consistency: The apiProxyCreationType must match the original type. You cannot change from SOAP to REST or vice versa.
  • SOAP to REST: If the original API proxy was SOAP without protocol transformation, you cannot enable soapToRest during update. This must be set during initial creation.
  • Description Preservation: If apiProxyDescription is empty or not provided, the existing description is preserved.
  • Client Route: If clientRoute is not provided, the existing client route is preserved.
  • Deployment: If deploy: true, ensure environments exist and user has deployment permissions.
  • Reparse: The reParse field must be set to true for update operations (PUT endpoints).