Ana içeriğe atla

Endpoint

Authentication

Requires a Personal API Access Token.

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 have API_MANAGEMENT + DEPLOY_UNDEPLOY permission in the project.
  • Undeployment Status: Check the deploymentResult in the response to verify undeployment success
  • Deployment History: Undeployment history is automatically recorded
  • Redeploy Required Flag: After undeployment, the redeployRequired flag is set to false