curl --request DELETE \
--url https://api.vapi.ai/tool/{id} \
--header 'Authorization: Bearer <token>'
{
"async": false,
"messages": [
{
"type": "request-start",
"content": "<string>",
"conditions": [
{
"value": "<string>",
"operator": "eq",
"param": "<string>"
}
]
}
],
"type": "dtmf",
"id": "<string>",
"orgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"function": {
"name": "<string>",
"description": "<string>",
"parameters": {
"type": "object",
"properties": {},
"required": [
"<string>"
]
}
},
"server": {
"timeoutSeconds": 20,
"url": "<string>",
"secret": "<string>"
}
}
curl --request DELETE \
--url https://api.vapi.ai/tool/{id} \
--header 'Authorization: Bearer <token>'
{
"async": false,
"messages": [
{
"type": "request-start",
"content": "<string>",
"conditions": [
{
"value": "<string>",
"operator": "eq",
"param": "<string>"
}
]
}
],
"type": "dtmf",
"id": "<string>",
"orgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"function": {
"name": "<string>",
"description": "<string>",
"parameters": {
"type": "object",
"properties": {},
"required": [
"<string>"
]
}
},
"server": {
"timeoutSeconds": 20,
"url": "<string>",
"secret": "<string>"
}
}
The response is of type object
.
Was this page helpful?