Delete a patch job
On this page:
POST /v1/command/delete-patch-job
To delete a patch job, you must be authenticated by means
of one of the following methods:
- X-Authentication Header
- RBAC Allowlisted Certificate
Delete a patch job and its remaining schedule.
Body parameter
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| body | body | object | true | none |
| ยป id | body | string(uuid) | true | none |
Example responses
401 response
{
"kind": "puppetlabs.rbac/user-revoked",
"msg": "string"
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | Deletion of the patch job was successful. | None |
| 401 | Unauthorized | Authentication failed | not-authenticated-error |
| 403 | Forbidden | Requester does not have edit permissions on patch jobs. | forbidden-request-error |






