Edit an API key
Changed onEdit an existing API key
Request
- Base URLhttps://api.smtp2go.com/v3
- Auth
- API key in header X-Smtp2go-Api-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"id": "api-00000000000000000000000000000000",
"description": "test api key",
"custom_ratelimit_period": "0:30:00",
"ip_pool": 1234,
"feedback_html": "test_html",
"feedback_text": "test_text"
}Response
Successfully edited API key
Example response
{
"data": [
{
"api_key": "api-000000000000********************",
"username": "api-000000000000",
"custom_rate_limit": true,
"custom_ratelimit_value": 123,
"custom_ratelimit_period": "0:30:00",
"default_ratelimit_period": "unlimited",
"ippool": 1234
}
],
"request_id": "4b661d88-6b2d-11eb-8bb3-f23c92bb31d2"
}Changes
- breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking