API Endpoint(s) and/or Zoom API Event(s)
phone/locations
Description
I am attempting to troubleshoot an error that happens when attempting to update an existing emergency service location via the zoom API. I am calling
PATCH https://api.zoom.us/v2/phone/locations/:locationId
with body json
{
“bssid”:“D0:D3:E0:B0:23:C3”,“emergency_address_id”:“6Z27P_V_SI2tTe3G-ywlvw”,“name”:“7th St Café”,“private_ip”:“111.29.0.0/32”,“public_ip”:“111.82.0.0/32”,“minimum_match_criteria”:false,“network_switches”:[{“mac_address”:“q4:bd:9e:ff:21:00”,“port”:null,“port_prefix”:null,“port_range_from”:null,“port_range_to”:null}],“sip_group_id”:null,“elin_phone_number_id”:null
}
The only field that is actually changing is the emergency_address_id. If I run the request in postman I get an error saying that “Only the company address can be used for the company location.“ . I have verified that the value being passed for emergency_address_id points to an existing emergency address. All the required fields appear to be present in the body. What am I doing wrong?
Error?
{
“code”: 400,
“message”: “Only the company address can be used for the company location.”
}