Account admin

Remove an email domain

admin_remove_domain · Deletes data · Markdown

Takes a domain off the account; people who joined with it stay.

Free

This tool costs nothing to call.

An example

We closed the used-equipment outlet. Stop people joining with its addresses.

Your agent callsadmin_remove_domainFree

The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.

With these arguments
{
  "domain": "hansenvoss-outlet.example"
}
What comes back
{
  "removed": "hansenvoss-outlet.example"
}

Use it when

The company stopped using the domain, or joining with it should stop for good.

What it does

Take a domain off the account: nobody joins or asks to join with it any more. People who joined stay.

What comes back

removed: the domain. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
domainRequiredstringThe part of the company's addresses after the @, like hansenvoss.example. 4 to 253 characters.

The call

Over MCP, call admin_remove_domain on https://api.conecto.chat/mcp/admin. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/admin_remove_domain \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain":"hansenvoss-outlet.example"}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
not_found404That domain is not on the account.admin_list_domains lists them.
invalid_input400The domain is not one.Send it like hansenvoss.example.
owner_required403The key is not one that runs the account: it works for one team, has limits, or is a member's assistant.Use a key of the company-wide team without limits, or ask the owner (account_owner_link).

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md