curl --location --request POST 'https://api.inboxkit.com/v1/api/domains/dmarc' \
--header 'X-Workspace-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"uids": [
"string"
],
"domains": [
"string"
],
"reportingEmail": "[email protected]",
"policy": "none",
"email": "[email protected]",
"subdomainPolicy": "none",
"percentage": 100,
"forensicEmail": "[email protected]",
"reportingInterval": 86400,
"forensicOptions": "1",
"spfAlignment": "r",
"dkimAlignment": "r"
}'{
"error": false,
"message": "Domain(s) DMARC settings updated successfully",
"domains": [
{
"uid": "dom-123e4567-e89b-12d3-a456-426614174000",
"name": "example",
"tld": "com",
"status": "active",
"dmarc_email": "[email protected]",
"dns_propagation_status": "pending",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"dmarcConfig": {
"policy": "reject",
"subdomainPolicy": "reject",
"percentage": 100,
"reportingEmail": "[email protected]",
"forensicEmail": "[email protected]",
"reportingInterval": 604800,
"spfAlignment": "s",
"dkimAlignment": "s",
"forensicOptions": "0"
}
}