UpdateProjectRetestRound

This method can be used for the following functionality: Update a project retesting round.

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

PUT /api/ss/project/:projectId/retest/:retestRoundNumber HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close

Query

projectId (string)

Identifier for the project.

Example:

PUT /api/ss/project/5e8017d2e1385f0c58e8f4f8/retest/:retestRoundNumber HTTP/1.1

retestRoundNumber (string)

Number for the project retest round.

Example:

PUT /api/ss/project/:projectId/retest/1 HTTP/1.1

requested_date (string) (optional)

Requested datetime for the project retest round. Must be an ISO8601 datetime string.

Example:

{
   "requested_date": "2025-02-10T00:00:00.000Z"
}

completed_date (string) (optional)

Completed datetime for the project retest round. Must be an ISO8601 datetime string.

Example:

{
   "completed_date": "2025-02-15T00:00:00.000Z"
}

Example

The following example is a cURL request to update a project retest round.

Request

Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.

curl -X PUT 'https://demo.attackforge.com/api/ss/project/67b13c76ba8bd6ca8c53d20f/retest/1' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close' -d '{
  "requested_date":"2025-02-10T00:00:00.000Z",
  "completed_date":"2025-02-15T00:00:00.000Z"
}'

Response

Response contains a status object.

{
  "status": "Project Retest Round Updated"
}

Last updated