Remove apps from tag
Remove apps from tag
POST
https://api.ocamba.com/v1/hood/tags/{id}/apps-remove
Removing apps from tag with specified id.
Rate limits:
Burst: 10/s
Steady: 150/m
Request schema
bodyPOST https://api.ocamba.com/v1/hood/tags/{id}/apps-remove HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
{
"web": [
"ocamba.com"
],
"android": [
"com.Ocamba.demo"
],
"ios": [
"com.ocamba.iosdemo"
]
}
curl -X POST "https://api.ocamba.com/v1/hood/tags/{id}/apps-remove" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"web":["ocamba.com"],"android":["com.Ocamba.demo"],"ios":["com.ocamba.iosdemo"]}'
fetch("https://api.ocamba.com/v1/hood/tags/{id}/apps-remove", {
method: "POST",
headers: { Authorization: `Bearer ${TOKEN}`, "Content-Type": "application/json" },
body: JSON.stringify(
{
"web": [
"ocamba.com"
],
"android": [
"com.Ocamba.demo"
],
"ios": [
"com.ocamba.iosdemo"
]
}
)
}).then(r => r.json());
$ch = curl_init("https://api.ocamba.com/v1/hood/tags/{id}/apps-remove");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer $token",
"Content-Type: application/json"
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(
[
"web" => [
"ocamba.com"
],
"android" => [
"com.Ocamba.demo"
],
"ios" => [
"com.ocamba.iosdemo"
]
]
));
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
Web app names are sanitized to be all lowercase.
2
Android and iOS app names stay the same.