Update a VictorOps endpoint
PUT/v1/endpoints/victorops/:id
Updates a VictorOps notification endpoint or sends a test message to VictorOps. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
ID of the notification endpoint
Query Parameters
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
.
- application/json
Body
Name of the endpoint
Detailed description of the endpoint
Alert routing key from VictorOps
VictorOps REST API message_type
. For more information, see VictorOps knowledge base.
API key from VictorOps
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
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.
{
"id": 88
}