curl -X PATCH "https://api.sequinstream.com/api/destinations/http_endpoints/my-endpoint" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"headers": {"house": "fremen"}}'
{
"id": "7c87ba76-c13c-4a87-bfff-0f1ba73f33a0",
"name": "my-endpoint",
"url": "https://dune.com/sandworms",
"headers": {
"house": "atreides"
},
"encrypted_headers": "(0 encrypted header(s)) - sha256sum: b4a8f200"
}
HTTP endpoints
Update HTTP endpoint
PATCH
/
destinations
/
http_endpoints
/
{endpoint_id_or_name}
curl -X PATCH "https://api.sequinstream.com/api/destinations/http_endpoints/my-endpoint" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"headers": {"house": "fremen"}}'
{
"id": "7c87ba76-c13c-4a87-bfff-0f1ba73f33a0",
"name": "my-endpoint",
"url": "https://dune.com/sandworms",
"headers": {
"house": "atreides"
},
"encrypted_headers": "(0 encrypted header(s)) - sha256sum: b4a8f200"
}
Updates an existing HTTP endpoint.
The request body depends on the type of endpoint being updated:
Request fields
The modifiable fields depend on the type of HTTP endpoint.The ID or name of the HTTP endpoint to update
Show HTTP endpoint
Show HTTP endpoint
Show webhook.site endpoint
Show webhook.site endpoint
The name of the HTTP endpoint
Show local endpoint
Show local endpoint
Response fields
The response is one of the following:Show HTTP endpoint
Show HTTP endpoint
Show webhook.site endpoint
Show webhook.site endpoint
Show local endpoint
Show local endpoint
curl -X PATCH "https://api.sequinstream.com/api/destinations/http_endpoints/my-endpoint" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"headers": {"house": "fremen"}}'
{
"id": "7c87ba76-c13c-4a87-bfff-0f1ba73f33a0",
"name": "my-endpoint",
"url": "https://dune.com/sandworms",
"headers": {
"house": "atreides"
},
"encrypted_headers": "(0 encrypted header(s)) - sha256sum: b4a8f200"
}
⌘I

