Delete a patch group

Delete a patch group and any patch jobs targeting it, along with their scheduled tasks.

POST /v1/command/delete-patch-group

Request format

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}

Parameters

Name In Type Required Description
body body object true none
ยป id body string(uuid) true none

Response format

401 response

{
  "kind": "puppetlabs.rbac/user-revoked",
  "msg": "string"
}

Responses

Status Meaning Description Schema
204 No Content Deletion of the patch group and associated jobs was successful. None
401 Unauthorized Authentication failed. not-authenticated-error
403 Forbidden Requester does not have edit permissions on patch groups. forbidden-request-error