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.

Request fields

The modifiable fields depend on the type of HTTP endpoint.

endpoint_id_or_name
string
required

The ID or name of the HTTP endpoint to update

The request body depends on the type of endpoint being updated:

Response fields

The response is one of the following:

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"
}