v1
latestOpenAPI 3.0.22026-07-26207170320.9 KBServices - Headers
Replace header rules
Replace all header rules for a particular service with the provided list.
This deletes all existing header rules for the service that aren't included in the request.
put/services/{serviceId}/headers
Request body
Example request
[
{
"path": "/static/*",
"name": "Cache-Control",
"value": "public, max-age=604800"
}
]Response
OK