PATCH
/api/v1/units/{id}
curl \
--request PATCH 'http://localhost:3500/api/v1/units/{id}' \
--header "Content-Type: application/json" \
--data '{"title":"string","description":"string","outline":"string","totalMarks":42.0,"examMarks":42.0,"otherMarks":42.0,"hasLabs":true}'
Request examples
{
"title": "string",
"description": "string",
"outline": "string",
"totalMarks": 42.0,
"examMarks": 42.0,
"otherMarks": 42.0,
"hasLabs": true
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}