# UpdateProjectRetestRound

## &#x20;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.

{% code overflow="wrap" %}

```
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"
}'
```

{% endcode %}

### Response

Response contains a status object.

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.attackforge.com/attackforge-enterprise/modules/self-service-restful-api/updateprojectretestround.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
