PUT
https://api.us.nylas.com/v3/domains/{domain_id}Update domain
Renames a domain.
name is the only field you can change. To use a different address, register a new domain and delete the old one.
Nylas returns a 400 error for domain_address, disabled, and unknown fields. Nylas ignores the other read-only domain fields. A request with an empty JSON object returns 200 and sets a new updated_at.
Requires an IAM API key with the domains.update permission. Application API keys and access tokens don't work.