contact@agentmail.ccDiscord
DocumentationAPI ReferenceChangelog
DocumentationAPI ReferenceChangelog
  • API Reference
Logo
contact@agentmail.ccDiscord
API ReferencePodsDomains

Delete Domain

DELETE
/v0/pods/:pod_id/domains/:domain_id
DELETE
/v0/pods/:pod_id/domains/:domain_id
1from agentmail import AgentMail
2
3client = AgentMail(
4 base_url="https://api.agentmail.to",
5 api_key="YOUR_TOKEN_HERE"
6)
7
8client.pods.domains.delete(
9 pod_id="pod_id",
10 domain_id="domain_id"
11)
Try it
Was this page helpful?
Previous

Changelog

Next
Built with
Changelog

Authentication

AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Path Parameters

pod_idstringRequired
ID of pod.
domain_idstringRequired
The name of the domain. (e.g., " your-domain.com")

Errors

ID of pod.

Bearer authentication of the form Bearer <token>, where token is your auth token.

The name of the domain. (e.g., ” your-domain.com”)