cURL
curl --request DELETE \ --url https://pria.praxislxp.com/api/admin/userInstitution/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "User institution deleted successfully" }
Removes a user institution from the system. Requires admin privileges.
JWT token passed in x-access-token header
The unique identifier of the user institution (MongoDB ObjectId)
User institution successfully deleted
The response is of type object.
object
Was this page helpful?