DELETE
https://app.evoriqa.com/api/v1/channelsDisconnect a channel
Disconnects the channel named by the `id` query parameter, so its webhook stops being accepted. A missing id is 422; a foreign channel 404.
Requires scope channels:write
Warning:
Access is gated — enable it before your first call
The API is off by default. A request succeeds only when all three switches are on: the platform master switch (off by default), your organisation’s API toggle, and your plan or client entitlement. Any one off returns 403 API access is not enabled for this workspace.
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| id | query | string uuid | Required | — | The channel's id. |
Request
curl
curl -X DELETE "https://app.evoriqa.com/api/v1/channels" \
-H "x-api-key: $EVORIQA_API_KEY"Node.js
const res = await fetch("https://app.evoriqa.com/api/v1/channels", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.EVORIQA_API_KEY}`,
},
});
const responseBody = await res.json();Python
import os
import requests
res = requests.delete(
"https://app.evoriqa.com/api/v1/channels",
headers={"Authorization": f"Bearer {os.environ['EVORIQA_API_KEY']}"},
)
body = res.json()Response
200 OK
{
"success": true,
"data": {
"deleted": true
}
}