---
title: "Enable or disable an integration"
---

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

Path: Channel Automation API › Integrations

`POST /api/integrations/{integrationId}/toggle`

## Code samples

### cURL

```bash
curl --request POST \
  --url https://api.channelautomation.com/api/integrations/%7BintegrationId%7D/toggle
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/integrations/%7BintegrationId%7D/toggle';
const options = {method: 'POST'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/integrations/%7BintegrationId%7D/toggle"

response = requests.post(url)

print(response.text)
```


Source: https://developer.channelautomations.com/api/post-api-integrations-integration-id-toggle/index.md
