Add a domain
POST/api/v1/domains
Adds a domain for dotMARC to monitor. It shows as missing reports until its first DMARC report arrives.
Needs the DomainsAdd permission.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 429
- 500
Created
The request couldn't be used. errors names each field that's wrong and why.
No API key was sent, or the key is unknown, expired or revoked.
The key's role doesn't have the permission this operation needs, or the key is limited to certain groups and this would reach outside them. detail says which.
The request conflicts with how things are now, such as a domain that's already in dotMARC or an alert that can't be acknowledged. detail says what.
This key has made more requests this minute than dotMARC allows (120 by default). Wait for the number of seconds in the Retry-After header, then try again.
Something went wrong in dotMARC that the request didn't cause. It's safe to retry a read; check before retrying a change. If it keeps happening, dotMARC's logs have the details.