Skip to main content
DELETE
/
api
/
user
/
userInstitution
/
{id}
Remove user institution membership
curl --request DELETE \
  --url https://pria.praxislxp.com/api/user/userInstitution/{id} \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "message": "You left successfully!"
}

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

The user institution ID to remove (must be a valid ObjectId)

Response

Membership removed successfully

success
boolean
Example:

true

message
string
Example:

"You left successfully!"