WorkerWorker Tail Logs

Delete Tail

DEL
Deletes a tail from a Worker.

Path parameters

idstringRequired
Identifier for the tail.
script_namestringRequired
Name of the script, used in URLs and route configuration.
account_identifierstringRequired
Identifier

Response

This endpoint returns an object
errors
list of objects
messages
list of objects
result
union
success
boolean
Whether the API call was successful
DEL
1curl -X DELETE https://api.cloudflare.com/client/v4/accounts/:account_identifier/workers/scripts/:script_name/tails/:id \
2 -H "X-Auth-Key: string" \
3 -H "X-Auth-User-Service-Key: string" \
4 -H "Authorization: Bearer <token>"
200Deleted
1{
2 "errors": [
3 {
4 "code": 0,
5 "message": "string"
6 }
7 ],
8 "messages": [
9 {
10 "code": 0,
11 "message": "string"
12 }
13 ],
14 "result": {
15 "string": {}
16 },
17 "success": true
18}