---
title: "Disable one toolkit in Darwin"
method: DELETE
path: "/ais/{aiId}/connections/{connectionId}/grants/{toolkit}"
tags: ["Connections"]
---

# Disable one toolkit in Darwin

`DELETE /ais/{aiId}/connections/{connectionId}/grants/{toolkit}`

## Request

- Base URL: `https://api.darwin.so/api/v1`
- URL: `https://api.darwin.so/api/v1/ais/{aiId}/connections/{connectionId}/grants/{toolkit}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Owner credentials only. This disables Darwin access without claiming the provider revoked one scope from a cumulative token.

## Path parameters

- `aiId` string, required
- `connectionId` string, required
- `toolkit` string, required

## Response `200`

The toolkit was disabled locally.

- ConnectionGrantDisableResult
  - `disabled` true, required

## Other responses

- `400`: The request was invalid.
- `401`: The API key or access token is missing, invalid, expired, or revoked.
- `403`: The principal does not have the required scope or resource access.
- `404`: The resource was not found for this principal.

---

[API](https://skmtc.dev/darwin/apis/darwin-api.md) · [All operations](https://skmtc.dev/darwin/apis/darwin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/darwin/apis/darwin-api/revisions/56166fce7bfb?raw)
