Skip to main content
PATCH
/
api
/
zones
/
{zoneId}
/
name
Update zone name
curl --request PATCH \
  --url http://aris.local/api/zones/{zoneId}/name \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Primary Bedroom"
}
'
{
  "success": true,
  "zoneId": "<string>",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

Session token or API token

Path Parameters

zoneId
string
required

Body

application/json
name
string
required

Friendly name for the zone

Required string length: 1 - 50
Example:

"Primary Bedroom"

Response

Name updated successfully

success
boolean
zoneId
string
name
string