Skip to main content
PATCH
/
accounts
/
{accountId}
Update account fields
curl --request PATCH \
  --url https://api.kameleoon.com/accounts/{accountId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "amClientId": "<string>",
  "amClientSecret": "<string>",
  "dateCreated": "2023-11-07T05:31:56Z",
  "email": "<string>",
  "firstName": "<string>",
  "id": 123,
  "imageURL": "<string>",
  "isPasswordExpired": true,
  "isProductRecoAllowed": true,
  "lastName": "<string>",
  "passwordBlocked": true,
  "preferredLocale": "fr",
  "roles": [
    {
      "customers": [
        123
      ],
      "name": "ROLE_CUSTOMER_ADMIN",
      "privileges": [
        "GETONE_CUSTOM_DATA"
      ],
      "sites": [
        123
      ]
    }
  ],
  "solutions": [
    "WEB_EXPERIMENTATION"
  ],
  "status": "CREATED",
  "teamId": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
integer<int64>
required

Body

application/json

The body is of type object.

Response

OK

amClientId
string

Client ID in AM

amClientSecret
string

Client Secret in AM

dateCreated
string<date-time>

Date when the account was created

email
string

Email associated with the given account

firstName
string

First name of the user of the given account

id
integer<int64>

Unique identifier of the given account

imageURL
string

Image URL of the user

isPasswordExpired
boolean

Password regeneration required

isProductRecoAllowed
boolean

Product recommendation allowed

lastName
string

Last name of the user of the given account

passwordBlocked
boolean

Checks if the user is blocked due to exceeding maximum password attempts

preferredLocale
enum<string>

Used locale of the given account

Available options:
fr,
en,
de
roles
object[]

User roles

solutions
enum<string>[]

Solutions enabled for the user

Solutions enabled for the user

Available options:
WEB_EXPERIMENTATION,
FEATURE_EXPERIMENTATION
status
enum<string>
Available options:
CREATED,
ACTIVATED,
DEACTIVATED
teamId
integer<int64>

ID of the team to which the user belongs