apistockdocs
v0.4 GitHub apistock.dev
API reference/Ops: job definitions

Reset a job to its code defaults

DELETE /ops/jobs/definitions/{name}

Authorization

bearer
Authorizationheader · stringrequired

Session token from POST /v1/auth/login with "transport": "bearer". Browsers use the session cookie that login sets instead.

Path

namestringrequired
maxLength: 63

Body

application/json
versionintegerrequired
format: int64minimum: 0
reasonstring
maxLength: 500

Responses

errors: application/problem+json
200

OK

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict

422

Unprocessable Entity

500

Internal Server Error

Match errors on the problem's code, which stays the same, not on its message.

esc
↑↓ move↵ openesc close