Delete a webhook
<div style={{ border: "2px solid #1a1a1a", padding: "20px", backgroundColor: "#252e33", margin: "20px 0", borderRadius: "20px", color: "#cccccc" }} id="delete-webhook">
<h2 style={{ color: "#cccccc" }}>π Delete a Webhook</h2>
<p style={{ color: "#cccccc" }}>
Remove a webhook to stop receiving transcription notifications.
</p>
<h3 style={{ color: "#cccccc" }}>Endpoint</h3>
<p style={{ color: "#cccccc" }}><code>DELETE https://api.tor.app/developer/integrations/webhooks</code></p>
<h3 style={{ color: "#cccccc" }}>Query Parameters</h3>
<ul style={{ color: "#cccccc" }}>
<li><strong>webhookType</strong> (string, required): The ID of the webhook to delete (e.g., <code>wh 2025-05-02 12:34:56</code>).</li>
</ul>
<h3 style={{ color: "#cccccc" }}>Responses</h3>
<details>
<summary style={{ borderLeft: "5px solid #28a745", padding: "10px", backgroundColor: "#d4edda", marginBottom: "10px", borderRadius: "5px" }}><strong>200 OK</strong></summary>
<pre style={{ backgroundColor: "#1a1a1a", padding: "10px", borderRadius: "10px", color: "#cccccc" }}>
<code>"Webhook deleted."</code>
</pre>
</details>
<details>
<summary style={{ borderLeft: "5px solid #dc3545", padding: "10px", backgroundColor: "#f8d7da", marginBottom: "10px", borderRadius: "5px" }}><strong>400 Bad Request</strong></summary>
<pre style={{ backgroundColor: "#1a1a1a", padding: "10px", borderRadius: "10px", color: "#cccccc" }}>
<code>"webhookType is required."</code>
</pre>
</details>
<details>
<summary style={{ borderLeft: "5px solid #dc3545", padding: "10px", backgroundColor: "#f8d7da", marginBottom: "10px", borderRadius: "5px" }}><strong>404 Not Found</strong></summary>
<pre style={{ backgroundColor: "#1a1a1a", padding: "10px", borderRadius: "10px", color: "#cccccc" }}>
<code>"Webhook not found."</code>
</pre>
</details>
<details>
<summary style={{ borderLeft: "5px solid #dc3545", padding: "10px", backgroundColor: "#f8d7da", marginBottom: "10px", borderRadius: "5px" }}><strong>500 Internal Server Error</strong></summary>
<pre style={{ backgroundColor: "#1a1a1a", padding: "10px", borderRadius: "10px", color: "#cccccc" }}>
<code>"Failed to delete webhook."</code>
</pre>
</details>
<h3 style={{ color: "#cccccc" }}>Notes</h3>
<ul style={{ color: "#cccccc" }}>
<li>Deleted webhooks cannot be recovered.</li>
</ul>
</div>
Updated 16 days ago