Retire Content
DELETE {{baseUrl}}/content/v2/retire/:Content_Id
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
Key | Datatype | Required | Description |
---|---|---|---|
X-Authenticated-User-token | string | (Required) The Registered User ID to execute the API. | |
Authorization | string | (Required) All content APIs require authorization for use. Specify the authorization key received from the administrator when placing the request for use of the API. | |
Accept | string |
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"}}