Skip to main content
PATCH
/
v2
/
admin
/
emergency-locations
/
{id}
Update Emergency Location
curl --request PATCH \
  --url https://api.voxo.co/v2/admin/emergency-locations/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": 123,
  "name": "<string>",
  "tenant": {
    "id": 123,
    "name": "<string>"
  },
  "address": {
    "loc": "<string>",
    "city": "<string>",
    "state": "<string>",
    "location": "<string>",
    "streetNum": "<string>",
    "postalCode": "<string>",
    "streetInfo": "<string>"
  },
  "notificationGroups": [
    {
      "id": 123,
      "name": "<string>",
      "number": "<string>",
      "email": "<string>",
      "peerName": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
number
required

Emergency location ID

Required range: x > 0

Body

application/json
name
string

Location name

Minimum string length: 1
tenantId
number

Tenant ID

Required range: x > 0
address
object
notificationGroups
object[]

E911 notification groups

Response

Updated emergency location

id
number
required

Emergency location ID

name
string | null
required

Location name

tenant
object
required

Parent tenant

address
object
required

Street address

notificationGroups
object[] | null
required

E911 notification groups