curl --location --request POST 'https://api.zapmail.ai/api/v2/domains/update-auto-renew' \
--header 'x-auth-zapmail: YOUR_API_KEY' \
--header 'x-workspace-key: workspace_id' \
--header 'x-service-provider: GOOGLE' \
--header 'Content-Type: application/json' \
--data-raw '{
"domainIds": ["uuid-1", "uuid-2"],
"autoRenew": true,
"contains": "example",
"tagIds": ["tag-uuid-1"]
}'{
"status": 200,
"message": "Auto renewal status updated successfully",
"data": {
"updatedCount": 3,
"domainIds": ["domain-uuid-1", "domain-uuid-2", "domain-uuid-3"]
}
}