Update account

PUT /accounts/{account_guid_or_externalid}

Update an existing customer account. Note that accounts are also created and updated automatically in the SSO flow. If you use Embedding with SSO, it's not needed to create accounts via the SaaS API.

Path Parameters

Name Description Type
account_guid_or_externalid Blendr.io guid of the account, or your account id (externalid in Blendr.io) string

Body Parameters

Name Description Type
name Company name of the account, e.g. ACME string
externalid Your id of the account string
user Example: { externalid: user001, name: John Doe, email: john@acme.com, locale: nl-BE, } json
datasource Credentials to your API. Keys should match the datasource inputs in Blendr.io. Example: { Api-Key: 123456 } json

Examples

{
    "name": "ACME Corp",
    "externalid": "5678A",
    "datasource": {
        "your_api_key": "1234567890",
        "environment": "production"
    },
    "user": {
        "externalid": "123abc",
        "locale": "nl-BE"
    }
}

Results

200

  {
    "guid": "",
    "externalid": "",
    "name": "",
    "created_at": ""
  }

400

{}