Skip to main content

Update an ServiceNow endpoint

PUT 

/v1/endpoints/service-now/:id

Updates an ServiceNow notification endpoint or sends a test message to ServiceNow.

Request

Path Parameters

    id int32required

    ID of the notification endpoint

Query Parameters

    test boolean

    To send a test message to the endpoint, true. Otherwise, false.

    Note: If set to true, the notification endpoint is not updated. To update the endpoint, you need to send the API request where test=false.

Body

    title string

    Name of the endpoint

    description string

    Detailed description of the endpoint

    username string

    ServiceNow user name

    password string

    ServiceNow password

    url string

    Provide your instance URL to connect to your existing ServiceNow instance, i.e. https://xxxxxxxxx.service-now.com/.

Responses

successful operation

Schema
    id int32

    ID of the notification endpoint. If the API call was made where test=true, then no changes are made to the endpoint. In this case, the response body contains {"id": -1} to indicate that a test message was sent.

Loading...