Remove tracking domain
DELETE
/api/domains/{domain}/tracklink
const url = 'https://smtp-app.kirim.email/api/domains/example.com/tracklink';const options = {method: 'DELETE', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://smtp-app.kirim.email/api/domains/example.com/tracklink \ --header 'Authorization: Basic <credentials>'Remove the tracking domain from a domain
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”domain
required
string
Example
example.comDomain name that must be owned by the authenticated user
Responses
Section titled “Responses”Tracking domain removed successfully
Headers
Section titled “Headers”X-RateLimit-Limit
integer
Maximum requests per minute
X-RateLimit-Remaining
integer
Remaining requests in current window
Unauthorized
Media typeapplication/json
object
error
Error type indicating authentication failure
string
message
Human-readable error message explaining the authentication issue
string
Example
{ "error": "Unauthorized", "message": "Authorization header is required"}Domain not found
Media typeapplication/json
object
success
boolean
message
string
Example
{ "success": false, "message": "Domain not found"}Too Many Requests - Rate limit exceeded. Retry after the specified time.
Media typeapplication/json
object
success
boolean
message
string
Example
{ "success": false, "message": "Too many attempts. Please try again later."}Headers
Section titled “Headers”Retry-After
integer
Seconds until rate limit resets
X-RateLimit-Limit
integer
Maximum requests per minute
X-RateLimit-Remaining
integer
Remaining requests in current window
Server Error
Media typeapplication/json
object
success
Indicates the request failed due to a server error
boolean
message
Human-readable error message describing the server error
string
Example
{ "success": false, "message": "An error occurred while processing the request."}