Delete

delete

/km/api/v1/replacementTokens/{id}

This method deletes the ReplacementToken object with the specified unique identifier parameter and all of its translations. Unique identifiers of ReplacementToken objects include the recordId parameter and tokenName parameter.

Example URIs

The example URIs for this method are as follows:

  • http://<IM_REST_API_HOST>/km/api/latest/replacementTokens/{recordId}

    The request deletes the token with the specified recordId parameter.

  • http://<IM_REST_API_HOST>/km/api/latest/replacementTokens/{tokenName}

    The request deletes the token with the specified tokenName parameter.

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 delete a replacement token object and the corresponding translations.

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

Example of Response Header

The following shows an example of the response header.

-H "kmauthtoken: {\"siteName\":\"ORACLE_KNOWLEDGE\",\"integrationUserToken\":\"\"+eCJYkxKwj5HUaIiJYun0/TpatwT1LmtcsF05W33xnEojifV/AsLDj9RpN0lKuorTMNKeSE1tgC7svVL+BzntqDON4KiM1HFlpxvXEUCB0P2w0Xrs75McygqxdVaDSE9",\"userToken\":\"UoyWTKRG4RpyJCH4Wqjzht2iYUrsDdk5ir+3IpwEkxcwajJkGR9OGSQBTANQVGW0iVT9MFeDzqL+RYdgfzGSK+h5QzDFIDM+rDLgdKeEE19ljWFm3zMCF+kgYp/dJ/Yq5V7Re+aDXqHg6YkHfvprFA==\"}" \
-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