POST
/
logins
/
upsert
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,
      "totpSecretKey": "<string>"
    },
    "password": "<string>"
  },
  "proxy": {
    "username": "<string>",
    "password": "<string>",
    "server": "<string>"
  }
}'
{
  "id": "<string>",
  "organizationId": "<string>",
  "name": "<string>",
  "authenticationUrl": "<string>",
  "homeUrl": "<string>",
  "loginConfiguration": {
    "username": "<string>",
    "email": "jsmith@example.com",
    "phone": "<string>",
    "twoFactorAuthConfiguration": {
      "method": "Email",
      "alwaysRequired": true
    }
  },
  "proxy": {
    "username": "<string>",
    "server": "<string>"
  },
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Body

application/json
Login creation or update parameters
name
string
required

Name of the login for identification

Minimum length: 1
authenticationUrl
string
required

URL of the authentication page

homeUrl
string
required

URL of the home page of the domain

loginConfiguration
object
required

Values for fields required to complete authentication, including sensitive credentials.

proxy
object

Proxy configuration for this login

Response

200
application/json
Login created or updated successfully
id
string
required

Unique identifier for the login

organizationId
string
required

ID of the organization that owns this login.

name
string
required

Name of the login

authenticationUrl
string
required

URL of the authentication page

homeUrl
string
required

URL of the home page

loginConfiguration
object
required

Values for fields required to complete authentication. Sensitive credentials are excluded for security.

createdAt
string
required

Timestamp when the login was created

updatedAt
string
required

Timestamp when the login was last updated

proxy
object

Proxy configuration for this login. Sensitive credentials are excluded for security.