Delete

delete

/km/api/v1/tasks/contentRecommendationTasks/{id}

This method deletes the ContentRecommendationTask objects with specified ID parameter.

Example URI

The example URI for this method is as follows:

  • http://<IM_REST_API_HOST>/km/api/latest/tasks/contentRecommendationTasks/{id}

    The request deleted the ContentRecommendationTask object with the specified ID parameter value.

Response Error

The possible error response for this method is as follows:

  • OKDOM-GEN0002

    The error is displayed when the specified ID is invalid or it does not exist in the database.

Request

Path Parameters
  • The unique identifier of the object to be deleted.
Back to Top

Response

204 Response

No Content.
Back to Top

Examples

The following example shows how to deletes the ContentRecommendationTask objects with specified ID parameter.

curl -X "DELETE" "http://<IM_REST_API_HOST>/km/api/latest/tasks/contentRecommendationTasks/{id}"

Example of Response Header

The following shows an example of the response header.

-H "kmauthtoken: {\"siteName\":\"ORACLE_KNOWLEDGE\",\"integrationUserToken\":\"+eCJYkxKwj5HUaIiJYun0/TpatwT1LmtcsF05W33xnEojifV/AsLDj9RpN0lKuorTMNKeSE1tgC7svVL+BzntqDON4KiM1HFlpxvXEUCB0P2w0Xrs75McygqxdVaDSE9"}" \
-H "Accept: application/json"

Example of Response Body

The following example shows the contents of the response body in JSON format:

This request does not return any response body.
Back to Top