allowDelete

  • Property Manager name: Allow DELETE
  • Behavior version: The v2024-10-21 rule format supports the allowDelete behavior v1.4.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: Yes

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}}