curl --request POST \
--url http://localhost:8080/cabinet/admin/users/{user_id}/restrictions \
--header 'Content-Type: application/json' \
--data '
{
"restriction_topup": true,
"restriction_subscription": true,
"restriction_reason": "<string>"
}
'{
"success": true,
"restriction_topup": true,
"restriction_subscription": true,
"message": "<string>",
"restriction_reason": "<string>"
}Update user restrictions (topup, subscription).
curl --request POST \
--url http://localhost:8080/cabinet/admin/users/{user_id}/restrictions \
--header 'Content-Type: application/json' \
--data '
{
"restriction_topup": true,
"restriction_subscription": true,
"restriction_reason": "<string>"
}
'{
"success": true,
"restriction_topup": true,
"restriction_subscription": true,
"message": "<string>",
"restriction_reason": "<string>"
}