DELETE /api/v1/institute/{id}

Path parameters

  • id string Required

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • message string Required
    • deleted object Required
      Hide deleted attributes Show deleted attributes object
      • code string Required
      • name string Required
  • 400 application/json

    Default bad request error 400 response

    Hide response attributes Show response attributes object
    • message string Required

      Response message

    • error string Required
    • statusCode number Required
DELETE /api/v1/institute/{id}
curl \
 --request DELETE 'http://localhost:3500/api/v1/institute/{id}'
Response examples (200)
{
  "message": "Institute \"University of Nairobi\" deleted successfully.",
  "deleted": {
    "code": "UoN",
    "name": "University of Nairobi"
  }
}
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}