Updates the current account

  • PATCH /account
Auth

Updates the current account.

Request body

All changes in the specified object are applied to the current account according to the JSON Merge Patch processing rules. Omitting existing fields causes the same values to be reapplied. Specifying a null value reverts the field to the default value, or removes the field when no default value exists.

Type: string

Responses

Account updated successfully

application/json
id string required

The account's identifier

trust object

Settings related to the level of trust of the clusters in this account

trust_all boolean required

If true, all clusters in this account will by default trust all other clusters in the same account

Account not found. (code: accounts.not_found)

application/json
errors object[] required

A list of errors that occurred in the failing request

code string required

A structured code representing the error type that occurred

message string required

A human readable message describing the error that occurred

fields string[]

If the error can be tied to a specific field or fields in the user request, this lists those fields

Response headers

x-cloud-error-codes enum

The error codes associated with the response