Authentication
Browser Sessions
Workflows
Instructor
API Reference
Create or update a login
Creates a new login or updates an existing one if a login with the same username, email, or phone number already exists in the organization
POST
/
logins
/
upsert
Copy
Ask AI
curl --request POST \
--url https://api.kaizenautomation.com/logins/upsert \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"authenticationUrl": "<string>",
"homeUrl": "<string>",
"loginConfiguration": {
"username": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"twoFactorAuthConfiguration": {
"method": "Email",
"alwaysRequired": true,
"twoFactorAuthEmail": "<string>",
"totpSecretKey": "<string>"
},
"password": "<string>"
},
"proxy": {
"username": "<string>",
"password": "<string>",
"server": "<string>"
},
"persistSession": true
}'
Copy
Ask AI
{
"id": "<string>",
"organizationId": "<string>",
"name": "<string>",
"authenticationUrl": "<string>",
"homeUrl": "<string>",
"loginConfiguration": {
"username": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"twoFactorAuthConfiguration": {
"method": "Email",
"alwaysRequired": true,
"twoFactorAuthEmail": "<string>"
}
},
"proxy": {
"username": "<string>",
"server": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"persistSession": true
}
Body
application/json
Login creation or update parameters
The body is of type object
.
Response
200
application/json
Login created or updated successfully
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.kaizenautomation.com/logins/upsert \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"authenticationUrl": "<string>",
"homeUrl": "<string>",
"loginConfiguration": {
"username": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"twoFactorAuthConfiguration": {
"method": "Email",
"alwaysRequired": true,
"twoFactorAuthEmail": "<string>",
"totpSecretKey": "<string>"
},
"password": "<string>"
},
"proxy": {
"username": "<string>",
"password": "<string>",
"server": "<string>"
},
"persistSession": true
}'
Copy
Ask AI
{
"id": "<string>",
"organizationId": "<string>",
"name": "<string>",
"authenticationUrl": "<string>",
"homeUrl": "<string>",
"loginConfiguration": {
"username": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"twoFactorAuthConfiguration": {
"method": "Email",
"alwaysRequired": true,
"twoFactorAuthEmail": "<string>"
}
},
"proxy": {
"username": "<string>",
"server": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"persistSession": true
}
Assistant
Responses are generated using AI and may contain mistakes.