Delete Variable

Delete Variable

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

Deleting a Variable by the provided Variable ID

Rate limits:

Burst: 10/s
Steady: 150/m

Query parameters

parameters
DELETE https://api.ocamba.com/v1/hood/variables/{id} HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
curl -X DELETE "https://api.ocamba.com/v1/hood/variables/{id}" \
  -H "Authorization: Bearer $TOKEN"
fetch("https://api.ocamba.com/v1/hood/variables/{id}", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${TOKEN}` }
}).then(r => r.json());
$ch = curl_init("https://api.ocamba.com/v1/hood/variables/{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
We recommend you consider other options before deletion.
Tip
1
If you don’t know the Variable ‘id’, list the Variables to find it.