Skip to main content

PUT Update a subdomain

PUT /v3/relay/subdomains/use_subdomain

Turn on or turn off the using domain feature when user creates new Private Email object.

Request Headers

Accept: application/json
Authorization: Bearer {{api_key}}

Body data

use_relay_subdomain (bool) Use subdomain or not

Return

use_relay_subdomain (bool) Use subdomain or not

Example

Request

curl --location --request PUT '{{host}}/v3/relay/subdomains/use_subdomain' \
--header 'Authorization: Bearer {{api_key}}' \
--data-raw '{
"use_relay_subdomain": true
}'

Response

{
"use_relay_subdomain": true
}