Amazon API Gateway REST API Reference

model:delete

Deletes a model.

HTTP Request

DELETE /restapis/<restapi_id>/models/<model_name>

Remarks

Example: Delete a model

Request

DELETE /restapis/uojnr9hd57/models/CalcOutput HTTP/1.1
Content-Type: application/json
Host: apigateway.us-east-1.amazonaws.com
X-Amz-Date: 20160614T190211Z
Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160614/us-east-1/apigateway/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=sig4_hash}
Response

The successful response returns a 202 Accepted status code and a payload similar to the following:

See Also

AWS CLI