How to Update the httpCustomHeaders Attribute of the Log Stream

Problem Statement:

How to Update the httpCustomHeaders Attribute of the Log Stream

Solution:

Send a PATCH request to the /api/v2/log-streams/{id} endpoint.

{
"sink"{
"httpCustomHeaders": [
{
"header": "one",
"value": "1"
}
]
}
}

Reference: