{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"**This endpoint allows you to associate a specific authenticated domain with a subuser.**\nAuthenticated 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. 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.\n\n\n[You can associate more than one domain with a subuser using the `v3/whitelabel/domains/{domain_id}/subuser:add` endpoint](https://www.twilio.com/docs/sendgrid/api-reference/domain-authentication/associate-an-authenticated-domain-with-a-subuser-multiple).","properties":{"path":{"type":"object","properties":{"domain_id":{"type":"integer","description":"ID of the authenticated domain to associate with the subuser."}},"required":["domain_id"],"additionalProperties":false},"body":{"type":"object","properties":{"username":{"type":"string","description":"Username to associate with the authenticated domain."}},"required":["username"],"examples":[{"username":"jdoe"}]}},"required":["path"],"additionalProperties":false},"name":"Associate an authenticated domain with a given user.","id":"sendgrid.domain_authentication.associatesubuserwithdomain","example":{"path":{"domain_id":1}},"maxRequests":1,"summary":false}}