IP Allow List
Edit IP Allow List
Changed onEdits an existing IP allow list.
post/ip_allow_list/edit
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
{
"api_key": "api-700B************************8F4E",
"description": "servername",
"ip_address": "123.45.67.89",
"new_ip_address": "123.45.67.88",
"type": "api"
}Response
Success – IP allow list edited
Example response
{
"request_id": "c0af7a72-46a8-11ee-9482-6754933d50b9",
"data": {
"description": "servername",
"ip_address": "123.45.67.88"
}
}Changes
- info
endpoint added
- info