Delete Push Task
Delete Push Task
DELETE
https://api.ocamba.com/v1/hood/push-tasks/{id}
Permanently removes a Push Task by its ID. This action cannot be undone.
Rate limits:
Burst: 10/s
Steady: 150/m
Path parameters
parametersDELETE https://api.ocamba.com/v1/hood/push-tasks/{id} HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
curl -X DELETE "https://api.ocamba.com/v1/hood/push-tasks/{id}" \
-H "Authorization: Bearer $TOKEN"
fetch("https://api.ocamba.com/v1/hood/push-tasks/{id}", {
method: "DELETE",
headers: { Authorization: `Bearer ${TOKEN}` }
}).then(r => r.json());
$ch = curl_init("https://api.ocamba.com/v1/hood/push-tasks/{id}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer $token"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
Responses
204 No Content
HTTP/1.1 204 No Content
Content-Type: application/json
Responses
Warning
1
This change will be automatically synchronized.
Note
1
We recommend you consider other options before deletion.
Tip
1
If you don’t know the Push Task id, list the Push Tasks to find it.