Update a product REST endpoint in API Gateway
When you update a product REST endpoint, you can change all the settings of the product endpoint except for the path and method of a REST API and the stage it's deployed to. Any changes to your product endpoints are updated automatically, but you need to republish any portals that use your products to see the changes reflected in a portal.
Update a product REST endpoint
The following procedure shows how to update a product REST endpoint to overwrite the current API documentation with custom API reference documentation.
To update a product REST endpoint
Sign in to the API Gateway console at https://console.aws.amazon.com/apigateway
. In the main navigation pane, choose Portal products.
Choose a product.
In the Documentation tab, under API reference pages, choose the name of a product REST endpoint, such as /dogs - GET.
For Preview, choose Edit page.
For Documentation source, turn on Override the documentation.
For Display content, choose Override the existing content.
If you choose Remove all content, the content is removed from the page, but you can choose Override the existing content to access the documentation again.
In Page body, enter custom API reference documentation using GitHub Flavored Markdown
. This documentation will not propagate back to API Gateway.
Choose Save changes.
You must republish any portals that use this portal product for the changes to take effect.