Update Account Details
POST
https://api.vobiz.ai/api/v1/Account/{auth_id}/Updates the Account object by setting the values of the parameters passed. Parameters that are not provided will remain unchanged. This request accepts only the name, city, state, time zone, and address as parameters.
Parameters
Request Parameters
| Name | Type | Description |
|---|---|---|
address | string | Postal address of the account, which is displayed on the invoices. |
name | string | Name of the account holder. |
city | string | City of the account holder. |
state | string | State or region of the account. |
timezone | string | The time zone used in the Vobiz dashboard for this account. A list of possible time zone values is maintained at the IANA Time Zone Database. |
Request
cURL
curl -X POST 'https://api.vobiz.ai/api/v1/accounts/{account_id}' \
--header 'X-Auth-ID: {auth_id}' \
--header 'X-Auth-Token: {auth_token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "John Smith",
"city": "San Francisco",
"address": "123 Main St",
"timezone": "America/Los_Angeles"
}'Request Body
JSON
{
"name": "John Smith",
"city": "San Francisco",
"address": "123 Main St",
"timezone": "America/Los_Angeles"
}Response Example
Success Response (202 Accepted)
{
"api_id": "02bbdbaa-9303-11e7-8bc8-065f6a74a84a",
"message": "changed"
}