DELETE
/
api
/
admin
/
userInstitution
/
{id}
Delete a user institution by ID
curl --request DELETE \
  --url https://pria.praxislxp.com/api/admin/userInstitution/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "User institution deleted successfully"
}

Authorizations

Authorization
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

The unique identifier of the user institution (MongoDB ObjectId)

Response

User institution successfully deleted

The response is of type object.