Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request DELETE \ --url 'https://router.toqan.ai/eu/v2/routing-rules/rrl_01HZXW2K7Y8Q9M0N1P2R3S4T5V' \ --header "Authorization: Bearer $TOQAN_API_KEY"
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}}; fetch('https://router.toqan.ai/eu/v2/routing-rules/{routing_rule_id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://router.toqan.ai/eu/v2/routing-rules/{routing_rule_id}" headers = {"Authorization": "Bearer <token>"} response = requests.delete(url, headers=headers) print(response.text)
{ "message": "<string>", "code": 123, "details": [ "<unknown>" ] }
Permanently deletes a routing rule.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Routing rule deleted successfully