v1
latestOpenAPI 3.0.02026-07-2641142112.7 KBEndpoint
Patch Endpoint
Partially update an endpoint.
patch/endpoint/{endpoint_id}
Path parameters
endpoint_idstring required
The ep's ID or UID
Example:unique-ep-identifier
The ep's ID or UID To retrieve your endpoints ids, use GET /endpoint.
Request body
Example request
{
"uid": "unique-ep-identifier",
"url": "https://example.com/webhook/",
"version": 1,
"filterTypes": [
"shipment.added.to.endpoint",
"container.new.event.detected"
],
"channels": [
"project_1337"
],
"secret": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD"
}Response
Example response
{
"id": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"uid": "unique-ep-identifier",
"url": "https://example.com/webhook/",
"version": 1,
"filterTypes": [
"shipment.added.to.endpoint",
"container.new.event.detected"
],
"channels": [
"project_123",
"group_2"
],
"createdAt": "2024-01-12T14:43:13.993727Z",
"updatedAt": "2024-01-12T14:43:13.993727Z"
}