curl --request POST \
--url http://localhost:8080/cabinet/admin/users/{user_id}/disable \
--header 'Content-Type: application/json' \
--data '{}'{
"success": true,
"message": "<string>",
"subscription_deactivated": false,
"panel_deactivated": false,
"user_blocked": false,
"panel_error": "<string>"
}Disable user - deactivates subscription and blocks access.
Actions:
curl --request POST \
--url http://localhost:8080/cabinet/admin/users/{user_id}/disable \
--header 'Content-Type: application/json' \
--data '{}'{
"success": true,
"message": "<string>",
"subscription_deactivated": false,
"panel_deactivated": false,
"user_blocked": false,
"panel_error": "<string>"
}Request to disable user.
Reason for disabling
500