domainIds, or, if that is empty, from contains and filters evaluated against the workspace's domains. A tag with none of these is created with no domains.No authorized domains found for tag "<name>"). Nothing is created when any tag fails.Tag already exists).curl --location 'https://api.zapmail.ai/api/v3/domains/tags' \
--header 'x-auth-zapmail;' \
--header 'Content-Type: application/json' \
--data '[
{
"name": "Production",
"tagColor": "#FF5733",
"domainIds": [
"83e2d581-fcb5-48e5-ad21-02f0e57eec69",
"e78b1d35-8d6a-4e43-91da-a57ab5288f86"
]
}
]'{
"status": 200,
"message": "Tags Created Successfully",
"data": {
"tagIds": [
"6c74d57d-6d1e-4d6b-90d8-0d6f5e5d7c31"
],
"domainTagsCreated": [
{
"domainId": "83e2d581-fcb5-48e5-ad21-02f0e57eec69",
"tagId": "6c74d57d-6d1e-4d6b-90d8-0d6f5e5d7c31"
},
{
"domainId": "e78b1d35-8d6a-4e43-91da-a57ab5288f86",
"tagId": "6c74d57d-6d1e-4d6b-90d8-0d6f5e5d7c31"
}
]
}
}