# CancelProjectRetestRound

## 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.

{% code overflow="wrap" %}

```
curl --request POST \
	--url https://demo.attackforge.com/api/ss/project/66333e1d110ab5acf8a4354e/retest/1/cancel \
	--header 'content-type: application/json' \
	--header 'x-ssapi-key: ***************************************'
```

{% endcode %}

### Response

Response contains a status.

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


---

# 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/cancelprojectretestround.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.
