Remove job

twilson63 edited this page Feb 4, 2012 · 1 revision

Remove Job (DELETE /:queue/:id)

Removes a job from a queue.

Inputs

None

Returns

Name Type Description
status String "success"

Errors

None

CURL Example

curl -XDELETE http://localhost:8000/foo/f31d9bf97f0d9085

Example Request

DELETE /foo/1 HTTP/1.1
Host: localhost:8000
Accept: application/json

Example Response

HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 20
Connection: keep-alive

{"status":"success"}