Account

Replaces an existing account.

Completely replaces an account with the new definition passed in. The old data will be lost.<br>You must have this scope: 'account.manage'.

put/account/v1/accounts/current

Request

  • Base URL
    https://api.apaleo.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.apaleo.com/account/v1/accounts/current
  • Auth
    OAuth 2
    Implicit: https://identity.apaleo.com/connect/authorize
    Scopes: account.manage, admin

Request body

namestring required

The name for the account, which usually should be the company name

descriptionstring nullable

The description for the account

logoUrlstring nullable

The URL of the account logo

additionallySupportedCountriesstring[] nullable

The list of supported countries

Example request

{
  "name": "Demo Account",
  "description": "This is the demo account",
  "logoUrl": "logo.png",
  "location": {
    "addressLine1": "My Street 1",
    "postalCode": "12345",
    "city": "MyCity",
    "countryCode": "GB"
  }
}

Response

The account has been replaced.

Changes

No recorded changes to this operation across all 1 revision of this API.