curl -X DELETE "https://server.smartlead.ai/api/v1/email-accounts/tag-mapping?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"email_account_ids": [101, 102], "tag_ids": [1]}'
{
"ok": true,
"message": "Tags removed successfully"
}
Remove tags from one or more email accounts
curl -X DELETE "https://server.smartlead.ai/api/v1/email-accounts/tag-mapping?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"email_account_ids": [101, 102], "tag_ids": [1]}'
{
"ok": true,
"message": "Tags removed successfully"
}
curl -X DELETE "https://server.smartlead.ai/api/v1/email-accounts/tag-mapping?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"email_account_ids": [101, 102], "tag_ids": [1]}'
{
"ok": true,
"message": "Tags removed successfully"
}