Skip to content

Update an account

PUT
/api/v1/account/{account_id}
account_id
required
Account_Id

A valid account ID

string
Example
013xrzp12g3nqk8ns6jadrqmpgrjkeny
Account_DetailsForUpdate
object
name
One of:
string
organisation_name
One of:

Organisation name (required when purpose is not personal)

string
purpose
One of:
string
Allowed values: business personal nonprofit education government
Example
business
website
One of:

Website URL

string

Success

object
details
Account_Details
object
id
Account_Id

A valid account ID

string
Example
013xrzp12g3nqk8ns6jadrqmpgrjkeny
name

Account name

string
Example
My Account
organisation_name
One of:

Organisation name (when purpose is not personal)

string
purpose

Account purpose

string
Allowed values: business personal nonprofit education government
Example
business
type

Type of resource (always ‘account’)

string
Allowed values: account
Example
account
website
One of:

Website URL

string
status
string
Allowed values: success
Example
success

Error

One of:
object
code
string
Allowed values: bad_request bad_authtoken not_authenticated not_permitted not_implemented unknown not_found unexpected_ref_type unexpected invalid_action invalid_value required_value idempotency_key_already_used
Example
bad_request
message
string
status
string
Allowed values: error
Example
error