Skip to main content
DELETE
/
v2
/
routing-rules
/
{routing_rule_id}
Delete routing rule
curl --request DELETE \
  --url https://api.orq.ai/v2/routing-rules/{routing_rule_id} \
  --header 'Authorization: Bearer <token>'
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.orq.ai/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://api.orq.ai/v2/routing-rules/{routing_rule_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

routing_rule_id
string
required

The ID of the routing rule

Response

Routing rule deleted successfully