PATCH /api/v1/courses/update/{id}

Path parameters

  • id string Required
application/json

Body Required

  • name string
  • description string

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • message string Required

      Response message

  • 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/courses/update/{id}
curl \
 --request PATCH 'https://api.echoplain.social/api/v1/courses/update/{id}' \
 --header "Content-Type: application/json" \
 --data '{"name":"string","description":"string"}'
Request examples
{
  "name": "string",
  "description": "string"
}
Response examples (200)
{
  "message": "string"
}
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}