provider Domain Authentication POST /whitelabel/domains/{domain_id}/subuser
@utdk/sendgrid /whitelabel/domains/{domain_id}/subuser
Associate an authenticated domain with a given user.
**This endpoint allows you to associate a specific authenticated domain with a subuser.** Authenticated domains can be associated with (i.e. assigned to) subusers from a parent account. This functionality allows subusers to send mail using their parent's domain authentication. To associate an authenticated domain with a subuser, the parent account must first authenticate and validate the domain. The parent may then associate the authenticated domain via the subuser management tools.
domain_id path required
ID of the authenticated domain to associate with the subuser
integer

Try it

Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postWhitelabelDomainsDomainIdSubuser
POST/whitelabel/domains/{domain_id}/subuser
**This endpoint allows you to associate a specific authenticated domain with a subuser.** Authenticated domains can be associated with (i.e. assigned to) subusers from a parent account. This functionality allows subusers to send mail using their parent's domain authentication. To associate an authenticated domain with a subuser, the parent account must first authenticate and validate the domain. The parent may then associate the authenticated domain via the subuser management tools.

Parameters

required

ID of the authenticated domain to associate with the subuser

Input

required

Username to associate with the authenticated domain.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.postWhitelabelDomainsDomainIdSubuser()