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 an Organization by Organization ID

    Use this API to delete an organization from Service Now.

    URI

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

    URI Parameters

    Parameter

    Type

    Required

    Description

    id

    Integer

    Yes

    ID of the organization to be deleted

    Consumes

    None

    Produces

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

    Response Elements

    Element

    Type

    Description

    msg

    String

    Status message of the delete organization job

    Sample Output

    Sample XML Output

    <servicenowmsg>
       <msg> Organization deleted successfully</msg>
    </servicenowmsg>
    

    Sample JSON Output

    servicenowmsg:{
            msg: ' Organization deleted successfully'
        }
    

    Response Status Code

    Message

    Description

    404 Not Found

    Invalid organization ID. No organization found with that ID.

    Modified: 2016-08-11