api-docs-icon

Update Account

PUT
/ api/ v1/ account

Updates and existing account in the Postalytics system. This account can be a free standing account or it can be a sub-account of an agency if an agency id is passed in.

A successful return will contain the API key for this account along with the user id of the new account.

object
first_name
string
required

The first name of the account holder.

Example:
Thomas
last_name
string
required

The last name of the account holder.

Example:
Anderson
password
string
required

The password associated with the account. Must follow password guidelines.

Example:
wh1tera88!t
username
string
required

The username associated with the account.

Example:
choi
address_city
string
nullable

The city associated with the account's address.

Example:
New York
address_state
string
nullable

The state associated with the account's address.

Example:
NY
address_street
string
nullable

The street address associated with the account.

Example:
36 Pipers Row
address_zip
string
nullable

The zip code associated with the account's address.

Example:
10001
company
string
nullable

The company name associated with the account.

Example:
Metacortex
created_date
string
nullable
email_address
string
nullable

The email address associated with the account.

Example:
tanderson@metacortex.net
phone
string
nullable

The phone number associated with the account.

Example:
888-574-7346

Response

application/json
object
account_id
integer (int32)

The unique account identifier.

Example:
10142067
updated_date
string (date-time)

The date and time when the account was last updated.

Example:
1999-02-19T12:00:00.00:00

Code Examples

Response