Add allowed IP address
POST/api/v1/sipaccounts/:sipaccount_id/allowed_ips
Add IP address to SIP account whitelist.
Authentication:
- Requires Bearer token in Authorization header:
Authorization: Bearer <token>
Request
Responses
- 200
- 403
- 404
- 422
Successfully adds IP to whitelist
Returns 403 error when API token is incorrect
Returns the 404 error envelope when neither the SIP account name nor id matches an account you own
Returns 422 error when IP address format is invalid