Skip to main content
DELETE
/
api
/
user
/
userInstitution
/
{userInstitutionId}
Remove user institution membership
curl --request DELETE \
  --url http://localhost:3000/api/user/userInstitution/{userInstitutionId} \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "message": "User institution removed successfully"
}

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

userInstitutionId
string
required

The user institution ID to remove

Response

Membership removed successfully

success
boolean
Example:

true

message
string
Example:

"User institution removed successfully"