CancelProjectRetestRound
This method can be used for the following functionality: Cancel a retest round for a project that user have Edit access to.
Parameters
The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.
Headers
POST /api/ss/project/:id/retest/:roundNumber/cancel HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close
Query
id (string)
Id of the project.
Example:
POST /api/ss/project/5e7c29afa3362408cf502a11/retest/:roundNumber/cancel HTTP/1.1
roundNumber (integer)
Round number for the retest round.
Example:
POST /api/ss/project/:id/retest/1/cancel HTTP/1.1
Example
The following example is a cURL request to cancel a retest round on a project.
Request
Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.
curl --request POST \
--url https://demo.attackforge.com/api/ss/project/66333e1d110ab5acf8a4354e/retest/1/cancel \
--header 'content-type: application/json' \
--header 'x-ssapi-key: ***************************************'
Response
Response contains a status.
{
"status": "Project Retest Round Cancelled"
}
Last updated