Migrate Existing User - POST /Users/migration (v2.0 - v9.2.0)
Migrate an existing user.
Usage:
- GET /Users and get details of all users
- POST /Users/migration and migrate an existing user
URL
/cxrestapi/auth/Users/migration
Method:
POST
Media Type (header):
Authorization: Bearer <access token value>
Content-Type: application/json;v=1.0
Parameters
migrationUserModel=[body]: Specifies the user details:
creationDate=[integer] – creation date
username=[string] - User name
password=[string] - User password
roleIds=[integer] - User related role(s) Id(s)
teamIds=[integer] - User related team(s) Id(s)
authenticationProviderId=[integer] - User authentication provider Id
firstName=[string] -User first name
lastName=[string] - User last name
email=[string] - User email address
phoneNumber=[string] - User phone number
cellPhoneNumber=[string] - User cellular phone number
jobTitle=[string] - User job title
other=[string] - User other information
country=[boolean] - User country
active=[string] - User active/inactive state (true/false)
expirationDate=[string] - User expiration date (date-time)
allowedIpList=[string] - User allowed IPs
localeId=[integer] - User Locale (Id)
Success Response:
Code: 201 Success
Error Response:
Code: 400 Bad Request
Code: 401 Unauthorized
Code: 403 Forbidden
Sample Response:
no content
Notes:
Migrates an existing user. Returns the location of the newly created user in the response header. If the request fails, it returns an error response.
Related content
Send Documentation Feedback - If you have comments about this documentation, you can contact the documentation team by sending your feedback to us. We appreciate your feedback!