Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
examples
/
apigateway
📤 Upload
📝 New File
📁 New Folder
Close
Editing: update-method-response.rst
**To create a new method response header for the 200 response in a method and define it as not required (default)** Command:: aws apigateway update-method-response --rest-api-id 1234123412 --resource-id a1b2c3 --http-method GET --status-code 200 --patch-operations op="add",path="/responseParameters/method.response.header.custom-header",value="false" **To delete a response model for the 200 response in a method** Command:: aws apigateway update-method-response --rest-api-id 1234123412 --resource-id a1b2c3 --http-method GET --status-code 200 --patch-operations op="remove",path="/responseModels/application~1json"
Save
Cancel