curl -X PATCH https://api.whatabot.app/api/v1/sectors/{id} \
-H "X-Api-Key: wh_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "New Name"}'
Sectors
Update Sector
Update a sector.
PATCH
/
v1
/
sectors
/
{id}
curl -X PATCH https://api.whatabot.app/api/v1/sectors/{id} \
-H "X-Api-Key: wh_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "New Name"}'
Update a sector’s name.
string
required
Your API key (prefixed with
wh_).string
required
Sector UUID.
Body
string
Updated sector name.
Payload examples
- Update name
{
"name": "New Name"
}
curl -X PATCH https://api.whatabot.app/api/v1/sectors/{id} \
-H "X-Api-Key: wh_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name": "New Name"}'