delete https://api.bigpanda.io/resources/v2.1/enrichments-config/tags//enrichments
Deletes a composition or extraction enrichment item for the tag.
Authentication
All BigPanda APIs require Bearer Token Authorization in the call headers.
This API uses the User API Key type of Authorization token.
Enrichment items are tied to their tag. If all enrichment items are deleted from a tag, the tag will also be removed from the system. Deleting a tag will remove all of the tag’s enrichment items as well.
Sample Calls
curl --request DELETE \
--url https://api.bigpanda.io/resources/v2.1/enrichments-config/tags/{tag_name}/enrichments \
--header 'Authorization: Bearer <User API Key>' \
--header 'accept: application/json'
--body'
{
"enrichments_ids": ["7c35c343-1029-4ebb-b5b1-99632738ed86", "530c12ef-e358-4f1a-86c1-c3f6df88e12"]
}'
curl --request DELETE \
--url https://eu-api.bigpanda.io/resources/v2.1/enrichments-config/tags/{tag_name}/enrichments \
--header 'Authorization: Bearer <User API Key>' \
--header 'accept: application/json'
--body'
{
"enrichments_ids": ["7c35c343-1029-4ebb-b5b1-99632738ed86", "530c12ef-e358-4f1a-86c1-c3f6df88e12"]
}'
Sending Multiple Enrichment Items
You are able to delete more than one enrichment item in a single API call. When sending multiple enrichment items at the same time, all items should belong to the destination tag.
curl -X DELETE -H "Content-Type: application/json" \
-H "Authorization: Bearer <User API Key>" \
https://api.bigpanda.io/resources/v2.1/enrichments-config/tags/{tag_name}/enrichments \
-d '{
"enrichments_ids" : [
"7c35c343-1029-4ebb-b5b1-99632738ed86",
"530c12ef-e358-4f1a-86c1-c3f6df88e12"
]
}