Tenants
Extra tenants under the token's team.
A tenant is one of your customers under your team. Each tenant has its own sending domains, SMTP credentials, inboxes, suppressions, and webhooks, and you can suspend one without affecting the others. Every team has a default tenant. The list omits it, but you can fetch it by id.
GET /api/v1/teams/:obfuscated_team_id/tenants
List extra tenants. The default tenant is omitted.
POST /api/v1/teams/:obfuscated_team_id/tenants
Create a tenant. Slug is generated from name when omitted.
PATCH /api/v1/tenants/:id
Change whether hard bounces suppress. suppress_hard_bounces is true by default: a hard bounce adds the address to this tenant's suppression list. Set it to false to stop that, for test or verification traffic only. Spam reports and unsubscribes still suppress, and addresses already on the list stay there. Works on the default tenant.
id: Public tenant idsuppress_hard_bounces: Boolean. false stops hard bounces adding addresses to this tenant's suppression list.
POST /api/v1/tenants/:id/resume
Resume sending. Returns 403 {error: operator_hold} when the tenant was paused by our abuse team; contact support.
id: Public tenant id
DELETE /api/v1/tenants/:id
Delete an extra tenant. SMTP users are deleted. Domains and inboxes move to destination_tenant_id, or the default tenant when that is omitted. Rejected if it is the default tenant.
id: Public tenant iddestination_tenant_id: Optional. Tenant that receives domains and inboxes. Defaults to the team's default tenant.