Pria UI now available in Dark mode !
cURL
curl --request POST \ --url http://localhost:3000/api/user/approveUid \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "userInstitutionId": "<string>", "approved": true } '
{ "success": true, "message": "User approved successfully" }
Approves or rejects a pending user institution membership (requires admin privileges)
JWT token passed in x-access-token header
The user institution ID to approve
Whether to approve (true) or reject (false)
User approved/rejected successfully
true
"User approved successfully"
Was this page helpful?