How to delete Jenkins jobs using remote access API

This is why proper API documentation and proper status code is important ๐Ÿ˜€๐Ÿ˜€๐Ÿ˜€

Spend half an hour trying to figure out how to delete a #Jenkins #job using ๐Ÿ˜ฉ ๐Ÿ˜ค ๐Ÿ˜ฎ ๐Ÿ˜ฑ

You can access all the methods support for an endpoint say for the below job:

https://<Jenkins_url>/job/<job_name>