As of December 31st, 2023 ThreadFix 2.X has reached End of Life and is no longer supported. For any further information please contact the Success and Implementation team.

Delete CI/CD Pass Criteria Group - API

/rest/{version}/cicd/passCriteriaGroup/{criteriaGroupId}/delete


Descriptor

Value

HTTP Method

DELETE

Description

Deletes the specified CI/CD Pass Criteria Group.

Required Permission

Manage CI/CD

Version Introduced2.8.0


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ must be provided.


Sample Call:


curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X DELETE http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/1/delete

Sample Output:


{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": "Pass Criteria Group with id 1 was deleted.",
    "links": [
        {
            "name": "list",
            "href": "http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/",
            "method": "GET"
        },
        {
            "name": "detail",
            "href": "http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/{id}/detail",
            "method": "GET"
        },
        {
            "name": "create",
            "href": "http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/create",
            "method": "POST"
        },
        {
            "name": "update",
            "href": "http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/{id}/update",
            "method": "PUT"
        },
        {
            "name": "delete",
            "href": "http://localhost:8080/threadfix/rest/latest/cicd/passCriteriaGroup/{id}/delete",
            "method": "DELETE"
        }
    ]
}

www.threadfix.it | www.coalfire.com
Copyright © 2024 Coalfire. All rights reserved.

This Information Security Policy is CoalFire - Public: Distribution of this material is not limited.