Approve a pending membership
curl --request POST \
--url https://pria.praxislxp.com/api/user/approveUid \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"ref": "60d5ec49f1b2c72b9c8e4d3b",
"uI": "60d5ec49f1b2c72b9c8e4d3c"
}
'{
"success": true,
"uI": {
"_id": "<string>",
"user": {},
"institution": {},
"status": "active"
},
"message": "Membership approved"
}Membership
Approve a pending membership
Approves a pending user institution membership. The caller must be the referrer (req.body.ref must match the authenticated user). On approval, the membership status is set to active and an approval email is sent to the user.
POST
/
api
/
user
/
approveUid
Approve a pending membership
curl --request POST \
--url https://pria.praxislxp.com/api/user/approveUid \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"ref": "60d5ec49f1b2c72b9c8e4d3b",
"uI": "60d5ec49f1b2c72b9c8e4d3c"
}
'{
"success": true,
"uI": {
"_id": "<string>",
"user": {},
"institution": {},
"status": "active"
},
"message": "Membership approved"
}Documentation Index
Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
JWT token passed in x-access-token header
Body
application/json
Was this page helpful?
⌘I