Page tree

The delete API uses the DELETE method to delete a time frame. You must provide authentication credentials by using the login API before deleting a time frame. For information about the authentication process, see Web services authentication.

URL to access the delete API

The generic format of a URL for the delete API is as follows:



http|httpsType of protocol to send the request. Infrastructure Management support both HTTP and HTTPS protocols.
serverHostHost name of the BMC TrueSight Infrastructure Management Server that has Central Monitoring Administration
portPort number through which communication is established. The default port number is 80 if you use the HTTP protocol and 443 if you use the HTTPS protocol.
identifier1, identifier2,...identifierN

Identifiers of the time frame. The supported identifier types are as follows:

  • Name of the time frame
  • Identifier of the time frame

You can provide multiple identifiers, separated by commas.


Specifies the identifier type for the time frame that the web service request uses. The supported identifier types are as follows:

  • name
  • tId

The default value is name.

Response information for the delete API

A sample JSON response is as follows:

    "responseTimeStamp": "2015-03-22T20:50:38",
    "statusCode": "200",
    "statusMsg": "OK",
    "response": [
            "resourceId": "edab3b79-0423-4f70-aab5-814b458919ac",
            "resourceName": "blackout-agent1",
            "resourceURI": null,
            "statusCode": "200",
            "statusMsg": "OK",
            "bladeSetup": null

Related topics

Performing Central Monitoring Administration functions with web services

Managing time frames