PATCH /api/v1/institute/{id}

Path parameters

  • id string Required
application/json

Body Required

  • name string
  • code string
  • type string
  • registration_number string
  • accrediting_body string
  • ownership string
  • date_established string
  • motto string
  • website_url string

Responses

  • 200
  • 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
PATCH /api/v1/institute/{id}
curl \
 --request PATCH 'https://api.echoplain.social/api/v1/institute/{id}' \
 --header "Content-Type: application/json" \
 --data '{"name":"University of Nairobi","code":"UoN","type":"University","registration_number":"CUE-REG-12345","accrediting_body":"Commission for University Education","ownership":"Public","date_established":"1970-07-01","motto":"In pursuit of excellence","website_url":"https://www.uonbi.ac.ke"}'
Request examples
{
  "name": "University of Nairobi",
  "code": "UoN",
  "type": "University",
  "registration_number": "CUE-REG-12345",
  "accrediting_body": "Commission for University Education",
  "ownership": "Public",
  "date_established": "1970-07-01",
  "motto": "In pursuit of excellence",
  "website_url": "https://www.uonbi.ac.ke"
}
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}