Update a Response object

PUT {{fastly_url}}/service/{{service_id}}/version/{{version_id}}/response_object/{{response_object_name}}

Updates the specified Response Object.

Authorization: API token with at least Engineer permissions.

Request Body

{"name"=>"My 404 Handler", "status"=>"404", "response"=>"Not Found", "content"=>"This page was not found.", "content_type"=>"text/html", "request_condition"=>"myRequestConditionName", "cache_condition"=>"myCacheConditionName"}

HEADERS

KeyDatatypeRequiredDescription
Hoststring
Content-Typestring
Acceptstring