Delete Macro

Delete Macro

DELETE https://api.ocamba.com/v1/hood/macros/{id}

Deletes a Macro

Rate limits:

Burst: 10/s
Steady: 150/m

Path parameters

parameters
DELETE https://api.ocamba.com/v1/hood/macros/{id} HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
curl -X DELETE "https://api.ocamba.com/v1/hood/macros/{id}" \
  -H "Authorization: Bearer $TOKEN"
fetch("https://api.ocamba.com/v1/hood/macros/{id}", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${TOKEN}` }
}).then(r => r.json());
$ch = curl_init("https://api.ocamba.com/v1/hood/macros/{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

Note
1
Deletion is allowed only for dynamic macros.
2
We recommend you consider other options before deletion.
Tip
1
If you don’t know the macro id, list the macros to find it.