cURL
curl --request PATCH \ --url https://api.voxo.co/v2/admin/branches/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "default": 1, "name": "<string>", "timezone": "<string>" } '
{ "id": 123, "name": "<string>", "default": 123, "timezone": "<string>", "tenant": { "id": 123, "name": "<string>" } }
Update an existing branch
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Branch ID
x > 0
Set as default branch (1 = yes, 0 = no)
1
Branch name
3
IANA timezone identifier
Updated branch
Whether this is the default branch (1 = yes, 0 = no)
Parent tenant
Show child attributes
Was this page helpful?
Contact support