PATCH
/
outbound
/
transactional-keys
curl --request PATCH \
  --url https://api.jetemail.com/outbound/transactional-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "api_token": "transactional_a1b2c3d4",
  "status": 0
}'
{
  "success": true,
  "message": "Transactional key updated successfully"
}

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format "Bearer {token}"

Body

application/json
api_token
string
required

The API token to update

Example:

"transactional_a1b2c3d4"

status
enum<integer>

Toggle key status (0 = disabled, 1 = enabled). If provided, other update fields will be ignored.

Available options:
0,
1
Example:

1

name
string

New name for the transactional key

Required string length: 1 - 64
Example:

"Updated API Key"

approvedDomains
string[]

List of approved domains for sending

Example:
["example.com", "mydomain.com"]
quota
integer

Email sending quota (0 for unlimited)

Required range: 0 <= x <= 1000000
Example:

1000

ipRestrictions
string[]

List of allowed IP addresses/CIDR ranges

Example:
["192.168.1.1", "10.0.0.0/24"]

Response

200
application/json
Transactional key updated successfully
success
boolean
Example:

true

message
string
Example:

"Transactional key updated successfully"