Update User Status
Use this API to update the user's status. For example, you can change the status from 'Activate' to 'Deactivate'.
The API request and response are in JSON format. Some characters, such as backslash (\) and double quotes (") in passwords or other fields may appear escaped in raw JSON responses. It is recommended to alway as parse responses using standard JSON parser to retrieve the correct values.
Sample - Update User StatusSample - Update User Status
API request
curl --location --request PUT '<qualys_base_url>/adminui/user-management/v1/user/status' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <JWT_Token>
--data '{
"action": "DEACTIVATE",
"editUser": "rbac_aa4"
}'
Response
{
"userId": 1023557128,
"username": "rbac_aa4",
"status": "SUCCESS"
}