Cakemail icon

Cakemail

Interact with Cakemail API

Sub-Account → Suspend

AI-generated

Summary

Suspend a specified sub-account, preventing it from sending emails.

Inputs

  • accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
  • subAccountId (required) — ID of the sub-account to be suspended.

Output shape

no body — success/failure only

The operation returns a success status if the suspension is successful, without returning any additional data.

Examples

Example 1: Suspend a specific sub-account

Set 'subAccountId' to the ID of the sub-account you want to suspend.

Discussion