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 Certificate by ID

    On an end-customer Service Now, use this API to delete an SSL certificate.

    URI

    https://[host]/api/juniper/servicenow/certificate-management/certificates/{id} (HTTP method = DELETE)

    URI Parameters

    Parameter

    Type

    Required

    Description

    id

    Integer

    Yes

    ID of the SSL certificate to be deleted

    Consumes

    None

    Produces

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

    Response Elements

    Element

    Type

    Description

    status

    String

    Status of the delete certificate job. The possible values are:

    • Success—Certificate was deleted successfully from end-customer Service Now
    • Failed—Certificate failed to be deleted from end-customer Service Now

    msg

    String

    Message output after the delete certificate job is completed.

    Sample Output

    Sample XML Output

    <servicenowmsg>
    <status>Success</status>
    <msg>Certificate is deleted</msg>
    </servicenowmsg>
    

    Sample JSON Output

    {
      "servicenowmsg": {
        "status": "Success",
        "msg": "Certificate is deleted"
      }
    }
    

    Modified: 2016-08-10