Delete a Version from a Software Title

DELETE /api/v1/titles/{ID}/versions/{VERSION}

Delete a version from a software title’s definition. The advertised currentVersion will be updated to reflect whatever the most ‘recent” version is after the operation.

Note

You must have at least one (1) version defined for a software title. The API will respond with a 400 error if you attempt to delete the last remaining version.

Warning

Use caution and judgement when deleting a version from a software title. You may negatively impact other admins using the definition for their own patch reports and policies!

DELETE /api/v1/titles/{ID}/versions/{VERSION}

Response

On success you will receive a message stating the version has been removed from the title.

200 OK
Content-Type: application/json
{
    "message": "Version '{VERSION}' deleted from title"
}

Examples

An example using curl:

curl https://beta2.communitypatch.com/api/v1/titles/{ID}/versions/{VERSION} \
    -X DELETE \
    -H 'Authorization: Bearer {API-KEY}'