PeumeAPI

Social publishing & inbox

Remove a custom domain

Removes the domain and its certificate. New connect links open on.com again and links already sent on the domain stop working; you can then delete both DNS records. Requires the workspace settings permission (owner or admin).

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/remove-a-custom-domain \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "domainId": "your domainId"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: remove-a-custom-domain.

Parameters

domainIdRequiredstring

The custom domain's id.

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.