Deleting the end of support date for software components

9.2.11 Available from 9.2.11. You use the DELETE operation on the sam/software_components/software_component_id/component_lifecycles/ element to remove the end of support date for a software component.

Permissions

User You must have the Manage Catalogs permission to use this API.

Resource URL

https://hostname:port/sam/software_components/software_component_id/component_lifecycles?token=token

Resource information

Table 1. Resource information
Operation details Description
HTTP method DELETE
Request headers
Header
Accept-Language (optional)
Values
en-US (only English is supported)

Negotiates the language of the response. If the header is not specified, the content is returned in the server language.

Request format application/json
Response headers
Header
Content-Type
Values
application/json

Specifies the content type of the response.

Header
Content-Language
Values
en-US, …

Specifies the language of the response content. If the header is not specified, the content is returned in the server language.

Response format application/json
Response codes

200 – OK

Example conversation - clearing the end of support date for a software component

  1. To retrieve information about the software component ID for which you want to clear the end of support date, perform the following steps:
    1. Log in to BigFix Inventory.
    2. Go to Reports > Software Components.
    3. Hover over the component name and check the URL address at the bottom of the page. The software component ID is a number at the end of the URL. For example: sam/catalog/software_components/10379
  2. To remove the end of support date, use the following DELETE request.
    Request header
    DELETE sam/software_components/10379/component_lifecycles?token=7adc3efb175e2bc0f4484bdd2efca54a8fa04623
    Host: localhost:9081 
    Accept: application/json 
    Accept-Language: en-US
    Response
    200 - OK