---
title: "DELETE /ab-tests/{abTestId}"
method: DELETE
path: "/ab-tests/{abTestId}"
---

# DELETE /ab-tests/{abTestId}

`DELETE /ab-tests/{abTestId}`

Deletes an A/B test and its associated gateway rules.

## Path parameters

- `abTestId` string, required

## Response `202`

Success

- DeleteABTestResponse
  - `abTestId` string, required — The unique identifier of the deleted A/B test.
  - `abTestArn` string, required — The Amazon Resource Name (ARN) of the deleted A/B test.
  - `status` 'CREATING' | 'ACTIVE' | 'CREATE_FAILED' | 'UPDATING' | 'UPDATE_FAILED' | 'DELETING' | 'DELETE_FAILED' | 'FAILED', required — The status of the A/B test deletion operation.

## Other responses

- `480` — UnauthorizedException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — ConflictException
- `484` — ThrottlingException
- `485` — ResourceNotFoundException
- `486` — InternalServerException

---

[API](https://skmtc.net/aws/apis/bedrock-agentcore.md) · [All operations](https://skmtc.net/aws/apis/bedrock-agentcore/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock-agentcore/versions/79623b33d495/schema)
