---
title: "Terminate a License"
method: DELETE
path: "/ka/key/{keyId}"
tags: ["KA License Operations"]
---

# Terminate a License

`DELETE /ka/key/{keyId}`

## Request

- Base URL: `https://api.socialbee.com`
- URL: `https://api.socialbee.com/ka/key/{keyId}`
- Auth: none declared

## Path parameters

- `keyId` integer, required

## Query parameters

- `testMode` boolean, required

## Response `200`

Successfully started user removal

## Other responses

- `204`: User cannot be managed by this app
- `404`: The license key not found

---

[API](https://skmtc.dev/socialbee/apis/socialbee-partner-api.md) - [All operations](https://skmtc.dev/socialbee/apis/socialbee-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/socialbee/apis/socialbee-partner-api/revisions/6125f325ff0c?raw)
