PUT - /admin/user/status
General Information
Service | API | Method | Data Models | Workflow |
---|---|---|---|---|
urac | /admin/user/status | PUT | Users |
Description
This API updates the status of a user that has an id that matches the one sent in the body of the request.
Input
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
id | Body | YES | String | N/A | User ID |
status | Body | YES | String | active or inactive | User Status |
Output
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
Valid Response
Invalid Response
Code | Description |
---|---|
400 | Business logic required data are missing |
602 | Model error: + %model_error% |