Delete an article status

delete

/km/api/v1/articleStatus/{id}

This method deletes the ArticleStatus object with the specified unique identifier.

Example URIs

The example URIs for this method are as follows:

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

    The request deletes the ArticeStatus object with the specified unique identifier parameter.

Response Errors

The possible error responses for this method are as follows:

  • OKDOM-GEN0001

    This error occurs when an ArticleStatus object with the specified unique identifier parameter cannot be found.

  • $ERROR.ArticleStatus.STATUS_ASSIGNED_TO_CONTENT$

    This error occurs when an ArticleStatus is assigned to an article.

  • OKDOM-STAT0003

    This error occurs when you are trying to delete an ArticleStatus which is a preconfigured article status.

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 an ArticleStatus object.

curl -X DELETE "https://<IM_REST_API_HOST>/km/api/latest/articleStatus/{id}" -u "<username:password>" -H "Accept: application/json" -H "Content-Type: 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