Skip to content

Delete credential

DELETE
/api/domains/{domain}/credentials/{credential}

Delete a specific SMTP credential

domain
required
string
Example
example.com

Domain name that must be owned by the authenticated user. The domain must be verified and properly configured for email sending.

credential
required
string format: uuid
Example
92703823-f3a4-48e2-8e87-7adf25454800

Credential GUID (user_smtp_guid)

Credential deleted successfully

object
success

Indicates if the request was successful

boolean
Example
true
message

Human-readable success message confirming the deletion

string
Example
Credential deleted successfully.

Unauthorized - Invalid or missing authentication credentials

object
success
boolean
message
string
Example
Unauthorized

Forbidden - Credential does not belong to the specified domain

object
success
boolean
message
string
Example
Credential does not belong to the specified domain

Credential not found

object
success
boolean
message
string
Example
Credential not found

Too Many Requests - Rate limit exceeded. Retry after the specified time.

object
success
boolean
message
string
Example
Too many attempts. Please try again later.
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 - Unexpected error occurred

object
success
boolean
message
string
Example
An error occurred while processing the request.