Skip to main content
PUT
/
managed_accounts
/
{managed_account_token}
Update managed account
curl --request PUT \
  --url https://api.vantage.sh/v2/managed_accounts/{managed_account_token} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "contact_email": "<string>",
  "access_credential_tokens": [
    "<string>"
  ],
  "billing_rule_tokens": [
    "<string>"
  ],
  "msp_billing_profile_token": "<string>",
  "billing_information_attributes": {
    "id": 123,
    "token": "<string>",
    "company_name": "<string>",
    "country_code": "<string>",
    "address_line_1": "<string>",
    "address_line_2": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postal_code": "<string>",
    "billing_email": [
      "<string>"
    ]
  },
  "business_information_attributes": {
    "id": 123,
    "token": "<string>",
    "metadata": {
      "custom_fields": [
        {
          "name": "<string>",
          "value": "<string>"
        }
      ]
    }
  }
}
'
{
  "token": "acct_dd2fdf6564b60319",
  "name": "New Name",
  "contact_email": "[email protected]",
  "parent_account_token": "acct_bb022aecd1125ada",
  "access_credential_tokens": [
    "accss_crdntl_686904ffd39a4618"
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

managed_account_token
string
required

Body

application/json

Update a Managed Account.

name
string

The name of the Managed Account.

contact_email
string

The contact email address for the Managed Account.

access_credential_tokens
string[]

Access Credential (aka Integrations) tokens to assign to the Managed Account.

billing_rule_tokens
string[]

Billing Rule tokens to assign to the Managed Account.

msp_billing_profile_token
string

Token of the MSP billing profile to use for this managed account (MSP invoicing accounts only).

billing_information_attributes
object

Billing address and contact information (MSP invoicing accounts only)

business_information_attributes
object

Business information and custom fields (MSP invoicing accounts only)

Response

ManagedAccount model

token
string
required
name
string
required
contact_email
string
required
parent_account_token
string
required

The token for the parent Account.

access_credential_tokens
string[]
required

The tokens for the Access Credentials assigned to the Managed Account.

billing_rule_tokens
string[]
required

The tokens for the Billing Rules assigned to the Managed Account.

msp_billing_profile_token
string

Token of the MSP billing profile used for this managed account (MSP invoicing accounts only)

billing_information_attributes
object
business_information_attributes
object