Skip to content

Delete Concept Map

David Alejandro Molano Vásquez edited this page Feb 9, 2020 · 2 revisions

Delete Concept Map

This endpoint allows an authenticated user to delete one concept map. Accepts DELETE requests. If an authenticated user with rol "Student" tries to delete a base concept map the endpoint rejects the operation. The request must provide the following fields:

  • Concept Map id: This parameter is passed by URL.
URL /api/cpt-map/<concept_map_id>
Method DELETE
URL Params concept_map_id
Data Params None
Success Response
Code: 204
None
Error Response
Code: 404
{"Error": "Invalid ConceptMap id"}
Error Response
Code: 401
{"Error": "Student cannot access base concept map"}

Clone this wiki locally