---
title: "DELETE /instance/{InstanceId}/lex-bot#botName&lexRegion"
method: DELETE
path: "/instance/{InstanceId}/lex-bot#botName&lexRegion"
---

# DELETE /instance/{InstanceId}/lex-bot#botName&lexRegion

`DELETE /instance/{InstanceId}/lex-bot#botName&lexRegion`

This API is in preview release for Amazon Connect and is subject to change.

Revokes authorization from the specified instance to access the specified Amazon Lex bot.

## Path parameters

- `InstanceId` string, required

## Query parameters

- `botName` string, required
- `lexRegion` string, required

## Response `200`

Success

## Other responses

- `480` — ResourceNotFoundException
- `481` — InternalServiceException
- `482` — InvalidRequestException
- `483` — InvalidParameterException
- `484` — ThrottlingException

---

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