Delete a profile List
Delete a profile List
DELETE
https://api.ocamba.com/v1/hood/profile-lists/{id}
Deleting an profile list is only possible if it is not in use in an audience fragment in Campaigns, Segments or Scheduled tasks.
Rate limits:
Burst: 10/s
Steady: 150/m
Path parameters
parametersResponse schemas
›
500
application/json
DELETE https://api.ocamba.com/v1/hood/profile-lists/{id} HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
curl -X DELETE "https://api.ocamba.com/v1/hood/profile-lists/{id}" \
-H "Authorization: Bearer $TOKEN"
fetch("https://api.ocamba.com/v1/hood/profile-lists/{id}", {
method: "DELETE",
headers: { Authorization: `Bearer ${TOKEN}` }
}).then(r => r.json());
$ch = curl_init("https://api.ocamba.com/v1/hood/profile-lists/{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
500 Internal Server Error
HTTP/1.1 500 Internal Server Error
Content-Type: application/json
{
"code": 500,
"title": "Internal server error.",
"trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
Responses
Warning
1
This change will be automatically synchronized.
2
This change will automatically update all profiles in this list so they no longer belong in it. This process might take some time.
Note
1
We recommend you consider other options before deletion.
Tip
1
If you don’t know the profile list id, list the profile lists to find it.