Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Delete PHD by ID

    Use this API to delete a product health data (PHD) file.

    URI

    https://[host]/api/juniper/servicenow/device-analysis/phds/{phdId} (HTTP method = DELETE)

    URI Parameters

    Parameter

    Type

    Required

    Description

    phdid

    String

    Yes

    ID of the PHD file to be deleted

    Consumes

    None

    Produces

    • application/vnd.juniper.servicenow.phd-management.phdStatusMsg +json;version=1
    • application/vnd.juniper.servicenow.phd-management.phdStatusMsg +xml;version=1

    Response Elements

    Element

    Type

    Description

    id

    Integer

    ID of the PHD file

    statusMessage

    String

    Status message of the PDH file delete job

    Sample Output

    Sample XML Output

    <phdStatusMessage>
       <id>75130</id>
       <statusMessage>PHD deleted successfully.</statusMessage>
    </phdStatusMessage>
    
    

    Sample JSON Output

    {
      "phdStatusMessage": {
        "id": "75130",
        "statusMessage": "PHD deleted successfully",
          }
    }
    

    Modified: 2016-08-11