Undeploy API Proxy Group
Endpoint
DELETE /apiops/projects/{projectName}/apiProxyGroups/{apiProxyGroupName}/environments/{environmentName}/
Authentication
Requires a Personal API Access Token.
Header
Authorization: Bearer YOUR_TOKEN
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer {token} | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| apiProxyGroupName | string | Yes | API Proxy Group name |
| environmentName | string | Yes | Environment name to undeploy from |
Query Parameters
None.
Request Body
Optional JSON body. When omitted, defaults are applied.
| Field | Type | Required | Description |
|---|---|---|---|
| description | string | No | Description/notes for the undeploy history record. Defaults to "Undeployed by APIOPS Api" if not provided. |
| persistent | boolean | No | If true, this undeploy history record will not be auto-deleted when the retention limit is reached. Defaults to false. |
Example
{
"description": "Rollback undeploy",
"persistent": true
}