Amazon API Gateway REST API Reference

requestvalidator:delete

Deletes a RequestValidator from a given RestApi.

HTTP Request

DELETE /restapis/<restapi_id>/requestvalidators/<requestvalidator_id>

Remarks

Example: Delete a RequestValidator for an API.

Request

The following example request deletes a RequestValidator (3n5aa0) resource for the given RestApi (mkhqppt4e4):

DELETE /restapis/mkhqppt4e4/requestvalidators/3n5aa0 HTTP/1.1
Content-Type: application/json
Host: apigateway.us-east-1.amazonaws.com
X-Amz-Date: 20170223T172652Z
Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns the 202 Accepted status code with an empty payload.

See Also

AWS CLI