Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
Path Parameters
Query Parameters
None.Request Body
Optional JSON body. When omitted, defaults are applied.Example
Response
Success Response (200 OK)
Response Fields
Error Response (400 Bad Request)
Common Causes
- API Proxy name does not exist
- Environment name does not exist
- User does not have access to the environment
- API proxy is not deployed to the environment
- Undeployment failed (check deploymentResult for details)
Error Response (401 Unauthorized)
Error Response (404 Not Found)
cURL Example
With Description and Persistent Flag
Notes and Warnings
- API Proxy Must Exist: The API proxy must exist before undeployment
- Environment Access: User must have access to the target environment
Permissions
User must haveAPI_MANAGEMENT + DEPLOY_UNDEPLOY permission in the project.
- Undeployment Status: Check the
deploymentResultin the response to verify undeployment success - Deployment History: Undeployment history is automatically recorded
- Redeploy Required Flag: After undeployment, the
redeployRequiredflag is set tofalse
Related Documentation
- Deploy API Proxy - Deploy API proxy to environment
- List API Proxies - List all API proxies

