Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| apiProxyName | string | Yes | API Proxy name (must exist) |
Query Parameters
NoneRequest Body
This endpoint does not require a request body.Response
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
| success | boolean | Indicates if the request was successful |
| deploymentResult | object | Undeployment result |
| deploymentResult.success | boolean | Overall undeployment success |
| deploymentResult.deploymentResults | array | Individual environment undeployment results |
| deploymentResult.deploymentResults[].environmentName | string | Environment name |
| deploymentResult.deploymentResults[].success | boolean | Undeployment success for this environment |
| deploymentResult.deploymentResults[].message | string | Undeployment message |
Error Response (400 Bad Request)
Common Causes
- API Proxy name does not exist
- API Proxy name is empty
Error Response (401 Unauthorized)
Error Response (404 Not Found)
cURL Example
Full JSON Body Example
This endpoint does not require a request body.Notes and Warnings
- Permanent Deletion: API Proxy deletion is permanent and cannot be undone
- Automatic Undeployment: The API proxy is automatically undeployed from all environments where it was deployed
- Dependencies: Ensure no other resources depend on the API proxy before deletion
- Policies: All policies associated with the API proxy are also deleted
- Case Sensitivity: API Proxy names are case-sensitive
Permissions
User must haveAPI_MANAGEMENT + MANAGE permission in the project. For undeployment operations (when undeploying API Proxy from environments), user must also have API_MANAGEMENT + DEPLOY_UNDEPLOY permission.
Related Documentation
- List API Proxies - List all API proxies
- Get API Proxy - Get API proxy details
- Create API Proxy from URL - Create a new API proxy
- Update API Proxy - Update an API proxy

