Edit User
URL : v3/user/update/api/{id}ser/update/api/6
HTTP Method : POST
Response Format: JSON
Parameters:
Parameter | Data Type | Optional/Required | Description |
first_name | String | Required | It’s the first name of the user |
last_name | String | Required | It’s the last name of the user |
user_name | String | Configurable | It’s the user name of the user and it configurable from backend form settings |
phone_number | String | Configurable | It’s the work phone no of the user and it configurable from backend form settings |
String | Configurable | It’s the email id of the user and it’s configurable from backend form settings | |
mobile | String | Configurable | It’s the mobile phone no of the user and it’s configurable from backend form settings |
custom_id | String/Array | Optional | “custom_(id of the custom field)” |
Response
- Response Format: JSON
- Returns JSON which contains below response
Sample JSON Success Response :
{ "success": true, "message": "Updated Successfully" }
Possible Errors/Failures:
{ "success":false, "message":{ "field":"this field is required" } }
{ "success": false, "message": { "email": "This email/username has already been taken", "user_name": "This email/username has already been taken", "mobile_phone": "The mobile phone has already been taken." } }