v1
latestOpenAPI 3.0.02026-07-2641142112.7 KBEndpoint
Update Endpoint
Update an endpoint. This will replace all your endpoint parameters with the one you specify. If you don't specify a parameter, it will be erased. If you wish to update an endpoint partially, use PATCH /endpoint/{endpoint_id}
put/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
{
"description": "Production endpoint",
"uid": "unique-ep-identifier",
"url": "https://example.com/webhook/",
"filterTypes": [
"shipment.added.to.endpoint",
"container.new.event.detected"
],
"channels": [
"project_123",
"group_2"
]
}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"
}