According to the API documentation, I should be able to issue a DELETE request to http://localhost:8085/rest/api/latest/queue/PA-PB-JOBAL-130 (for example) and cancel a queued build before it starts. But every time I do this, I get an HTTP 405 error.
Going through this, I found this long running bug in our system:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.