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 be an Administrator or have the Manage Catalogs permission to use this API.

Resource URL

https://hostname:port/sam/software_components/software_component_id/component_lifecycles

Resource information

Table 1. Resource information
Operation details Description
HTTP method DELETE
Request headers
Accept-Language (optional)
  • Use: Used to negotiate the language of the response. If this header is not specified, the content is returned in the server language.
  • Values: en-US (only English is supported)
Token
  • Use: Used to authenticate REST API requests. The header is required when you set the value of the api_token_in_url_enabled parameter to false. Otherwise, you can specify the token in the request header or in the URL. For more information, see: Authenticating REST API requests.
  • Values: an alphanumeric string that is generated in License Metric Tool
Request format application/json
Response headers
Content-Type
  • Use: Specifies the content type of the response.
  • Values: application/json
Content-Language
  • Use: Specifies the language of the response content. If this header is not specified, the content is returned in the server language.
  • Values: en-US, …
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:
  2. To remove the end of support date, use the following DELETE request.
    Request
    DELETE https://hostname:port/sam/software_components/software_component_id/component_lifecycles
    Request header
    Accept: application/json 
    Accept-Language: en-US
    Token: <token>
    Response
    200 - OK