Skip to content
Skip to main content
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.

Requires an IAM API key with the domains.update permission. Application API keys and access tokens don't work.

Parameters

Path parameters

domain_id*string

The domain's ID or address.

Example: "0a2171c6-c298-4671-8b82-d832a7fd5170"

Request body

namestring

A human-readable label for the domain.

Example: "Transactional mail (US)"

Responses

OK. The response only includes the new name and updated_at.

request_idstring

ID of the request.

Example: "5fa64c92-e840-4357-86b9-2aa364d35b88"
dataobject
PUThttps://api.us.nylas.com/v3/domains/0a2171c6-c298-4671-8b82-d832a7fd5170

Paste the authorization token required for this endpoint.

domain_idrequiredstring

The domain's ID or address.

Loading editor...

Autocomplete and validation come from this endpoint's request schema.