Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Standardize defectReporterId variable

/rest/{version}/cicd/defectReporting/{iddefectReporterId}/delete 


Descriptor

Value

HTTP Method

DELETE

Description

Deletes the specified CI/CD Defect Reporter.

Restricted

true

 

Required Permission

Manage CI/CD

Version Introduced2.5.0


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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

 


Sample Calls:


Code Block
themeEclipse
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {API Key}" -X DELETE http://localhost:8080/threadfix/rest/latest/cicd/defectReporting/2/delete?apiKey={apiKey}
 


Sample Output:


Code Block
themeEclipse
{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": "Defect Reporter with id 2 was deleted.",
    "links": [
        {
            "name": "list",
            "href": "http://localhost:8080/threadfix/rest/cicd/defectReporting/",
            "method": "GET"
        },
        {
            "name": "detail",
            "href": "http://localhost:8080/threadfix/rest/cicd/defectReporting/{id}/detail",
            "method": "GET"
        },
        {
            "name": "create",
            "href": "http://localhost:8080/threadfix/rest/cicd/defectReporting/create",
            "method": "POST"
        },
        {
            "name": "update",
            "href": "http://localhost:8080/threadfix/rest/cicd/defectReporting/{id}/update",
            "method": "PUT"
        },
        {
            "name": "delete",
            "href": "http://localhost:8080/threadfix/rest/cicd/defectReporting/{id}/delete",
            "method": "DELETE"
        }
    ]
}


Page Tree
rootCI/CD API