Oms API PUT any queue job stop - openmpp/openmpp.github.io GitHub Wiki

PUT remove any job from the queue.

This method allow to remove any model run from any oms queue.

It is available only if oms started with "global admin" privileges, for example:

oms -l localhost:4040 -oms.JobDir job -oms.AdminAll

Method:

PUT /api/admin-all/run/stop/queue/user/:user/stamp/:stamp

Arguments:

:user - (required) `oms` instance name, e.g.: `bob_4044`
:stamp - (required) model run submission time stamp, e.g.: `2026_01_29_16_03_06_050`

Example:

curl -v -X PUT http://localhost:4040/api/admin-all/run/stop/queue/user/bob_4044/stamp/2026_01_29_16_03_06_050

* Host localhost:4040 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:4040...
* Connected to localhost (::1) port 4040
* using HTTP/1.x
> PUT /api/admin-all/run/stop/queue/user/bob_4044/stamp/2026_01_29_16_03_06_050 HTTP/1.1
> Host: localhost:4040
> User-Agent: curl/8.13.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Location: /api/admin-all/run/stop/queue/bob_4044/stamp/2026_01_29_16_03_06_050/true
< Content-Type: text/plain
< Date: Thu, 29 Jan 2026 22:32:18 GMT
< Content-Length: 0
<
* Connection #0 to host localhost left intact
⚠️ **GitHub.com Fallback** ⚠️