allowDelete

  • Delivery Manager name: Allow DELETE
  • Behavior version: The latest rule format supports the allowDelete behavior v1.4.

Allow HTTP requests using the DELETE method. By default, GET, HEAD, and OPTIONS requests are allowed, and all other methods result in a 501 error. Such content does not cache, and any DELETE requests pass to the origin. See also the allow​Options, allow​Patch, allow​Post, and allow​Put behaviors.

OptionTypeDescriptionRequires
enabledboolean

Allows DELETE requests. Content does not cache.

{"displayType":"boolean","tag":"input","type":"checkbox"}
allow​Bodyboolean

Allows data in the body of the DELETE request.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}