Retire Content

DELETE {{baseUrl}}/content/v2/retire/{{contentId}}

This API is associated with retiring content on the Sunbird Platform . - The /retire/{contentId} endpoint executes Retire Content request based on content Id to delete the specific content.' - The endpoint for Retire Content is /content/v2/retire - It points to knowledge-mw-service - /v2/content/retire - {...}refers to a section of review endpoint URL path that needs to be replaced by appropriate Id. - It is mandatory to provide values for parameters. - Mandatory fields cannot be null or empty.

HEADERS

KeyDatatypeRequiredDescription
X-Authenticated-User-tokenstring(Required) The Registered User ID to execute the API.
Acceptstring

RESPONSES

status: OK

{"id":"api.content.retire","ver":"3.0","ts":"2020-12-11T12:05:52ZZ","params":{"resmsgid":"ebd2655a-a69a-460c-9bcf-0f45f5938fac","msgid":null,"err":null,"status":"successful","errmsg":null},"responseCode":"OK","result":{"identifier":"do_11283183576849612818","node_id":"do_11283183576849612818"}}