Status Value | Description |
---|---|
Active | The user account is active and can access the system. |
Inactive | The user account is deactivated and cannot access the system, but their data is retained for future use. |
Field | Type | Required | Default | Description |
---|---|---|---|---|
String | Yes | - | Unique email ID for the user | |
status | String | Yes | - | Status of the user. Accepts only "Active" or "Inactive". Case-sensitive. |
Request Body{ "email": "[email protected]", "status":"Active" }
Request Body{ "email": "[email protected]", "status":"Inactive" }
Status 200 OK
Response{ "email": "[email protected]", "fullName": "Test User", "businessunitId": 170867, "status":"Active" }
Status 400 Bad request
Response{ "errors": [ "Email address is in invalid format" ] }
Status 400 Bad request
Response{ "errors": [ "Status must be either 'Active' or 'Inactive'" ] }