Get an account
Get an account with a given id
Path Parameters
- accountId int64 required
The ID of the account object
Example: 100000
Query Parameters
- optionalFields string[]
- 200
- 400
- 403
- 423
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
- amClientId string
Client ID in AM
- amClientSecret string
Client Secret in AM
- dateCreated 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 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 string
Possible values: [
fr
,en
,de
]Used locale of the given account
roles object[]
User roles
Array [customers int64[]name stringPossible values: [
ROLE_CUSTOMER_ADMIN
,ROLE_SITE_ADMIN
,ROLE_SITE_PRODUCTION
,ROLE_SITE_TECHNICAL
,ROLE_SITE_MARKETING
,ROLE_SITE_DEMO
,ROLE_SITE_ABTESTS_RESTRICTED
,ROLE_SITE_AUTO_PROMO_PERSO_ONLY
]privileges string[]Possible values: [
GETONE_CUSTOM_DATA
,CREATE_CUSTOM_DATA
,UPDATE_CUSTOM_DATA
,REMOVE_CUSTOM_DATA
,GETONE_KEYPAGE
,CREATE_KEYPAGE
,UPDATE_KEYPAGE
,REMOVE_KEYPAGE
,GETONE_REFERRER
,CREATE_REFERRER
,UPDATE_REFERRER
,REMOVE_REFERRER
,GETONE_EXPERIMENT
,CREATE_EXPERIMENT
,DUPLICATE_EXPERIMENT
,UPDATE_EXPERIMENT
,REMOVE_EXPERIMENT
,GETONE_FEATUREFLAG
,CREATE_FEATUREFLAG
,DUPLICATE_FEATUREFLAG
,UPDATE_FEATUREFLAG
,REMOVE_FEATUREFLAG
,GETONE_GOAL
,CREATE_GOAL
,UPDATE_GOAL
,REMOVE_GOAL
,GETALL_INTEGRATION
,UPDATE_INTEGRATION
,GETONE_PERSONALIZATION
,CREATE_PERSONALIZATION
,DUPLICATE_PERSONALIZATION
,UPDATE_PERSONALIZATION
,REMOVE_PERSONALIZATION
,GETONE_SEGMENT
,CREATE_SEGMENT
,UPDATE_SEGMENT
,REMOVE_SEGMENT
,GETONE_TARGETINGCONDITION
,GETONE_SITE
,CREATE_SITE
,UPDATE_SITE
,REMOVE_SITE
,GETONE_VARIATION
,CREATE_VARIATION
,DUPLICATE_VARIATION
,UPDATE_VARIATION
,REMOVE_VARIATION
,PREVISUALIZE_VARIATION
,GETONE_WIDGET
,CREATE_WIDGET
,UPDATE_WIDGET
,REMOVE_WIDGET
,GETONE_WIDGET_STUDIO_TEMPLATE
,CREATE_WIDGET_STUDIO_TEMPLATE
,UPDATE_WIDGET_STUDIO_TEMPLATE
,REMOVE_WIDGET_STUDIO_TEMPLATE
]sites int64[]]- solutions string[]
Possible values: [
WEB_EXPERIMENTATION
,FEATURE_EXPERIMENTATION
]Solutions enabled for the user
- status string
Possible values: [
CREATED
,ACTIVATED
,DEACTIVATED
] - teamId int64
ID of the team to which the user belongs
{
"amClientId": "string",
"amClientSecret": "string",
"dateCreated": "2024-12-20T15:04:32.951Z",
"email": "string",
"firstName": "string",
"id": 0,
"imageURL": "string",
"isPasswordExpired": true,
"isProductRecoAllowed": true,
"lastName": "string",
"passwordBlocked": true,
"preferredLocale": "fr",
"roles": [
{
"customers": [
0
],
"name": "ROLE_CUSTOMER_ADMIN",
"privileges": [
"GETONE_CUSTOM_DATA"
],
"sites": [
0
]
}
],
"solutions": [
"WEB_EXPERIMENTATION"
],
"status": "CREATED",
"teamId": 0
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:32.951Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:32.951Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:32.951Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:32.951Z"
}