Skip to content

Commit ecc5e64

Browse files
authored
Merge pull request #194 from tcet-opensource/174-update_delete_Accreditation_apidoc
174 update delete accreditation apidoc
2 parents 89ebe94 + 2e18824 commit ecc5e64

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

_apidoc.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,19 @@
243243
* }
244244
*/
245245

246+
/**
247+
* @api {delete} /accreditation/delete/:accreditationId To delete Accreditation
248+
* @apiName DeleteAccreditation
249+
* @apiGroup Accreditation
250+
*
251+
* @apiParam {String} accreditationId The ID of the accreditation document to delete.
252+
*
253+
* @apiSuccess {String} res Success message indicating the deletion.
254+
*
255+
* @apiError (Error 500) err Error message if there was an error during the deletion.
256+
*
257+
* */
258+
246259
/**
247260
* @api {post} /accreditation/update update accreditation details
248261
* @apiName UpdateAccreditation
@@ -276,3 +289,4 @@
276289
* @apiSuccess {Date} accreditation.dateofAccreditation Date on which accreditation was issued.
277290
* @apiSuccess {Date} accreditation.dateofExpiry Date till which accreditation is valid.
278291
*/
292+

0 commit comments

Comments
 (0)