> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove API Proxy from Group

> Removes an API Proxy from an API Proxy Group. The API Proxy is no longer a member of the group but remains in the project.

## Endpoint

```plaintext theme={null}
DELETE /apiops/projects/{projectName}/apiProxyGroups/{apiProxyGroupName}/apiProxies/{apiProxyName}/
```

## Authentication

Requires a Personal API Access Token.

### Header

```plaintext theme={null}
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     |
| apiProxyName      | string | Yes      | API Proxy name to remove |

### Request Body

None.

## Response

### Success Response (200 OK)

```json theme={null}
{
  "success": true
}
```

### Notes

* If API Proxy is not a member of the group, operation still succeeds
* API Proxy is removed from the group if it is a member

### Error Response (400 Bad Request)

```json theme={null}
{
  "error": "bad_request",
  "error_description": "API Proxy Group (PaymentAPIGroup) is not found or user does not have privilege to access it!"
}
```

or

```json theme={null}
{
  "error": "bad_request",
  "error_description": "ApiProxy (MyAPI) is not found or user does not have privilege to access it!"
}
```

## cURL Example

```bash theme={null}
curl -X DELETE \
  "https://demo.apinizer.com/apiops/projects/MyProject/apiProxyGroups/PaymentAPIGroup/apiProxies/PaymentAPI/" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Notes and Warnings

* **Idempotent Operation**:
  * If API Proxy is not a member, operation still succeeds
  * No error is thrown if API Proxy is not in the group

* **API Proxy Not Deleted**:
  * API Proxy itself is not deleted
  * Only the group association is removed

## Permissions

* User must have **`API_MANAGEMENT` + `MANAGE`** permission in the project

## Related Documentation

* [Add API Proxy to Group](/api-reference/api-proxy-groups/api-proxies/add-api-proxy-to-group) - Add an API Proxy to group
* [List API Proxy Groups](/api-reference/api-proxy-groups/crud/list-api-proxy-groups) - List all API Proxy Groups
