---
title: "Revoke API key"
method: DELETE
path: "/v2/teams/api-keys/{apiKey}"
tags: ["v2/API Keys"]
---

# Revoke API key

`DELETE /v2/teams/api-keys/{apiKey}`

## Request

- Base URL: `https://api.speedify.com`
- URL: `https://api.speedify.com/v2/teams/api-keys/{apiKey}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP basic

Revoke an API key for this team. Admin only.

## Path parameters

- `apiKey` string, required

## Response `200`

API key revoked

- object
  - `data` object

## Other responses

- `401`: Invalid or missing API key
- `403`: Valid API key but insufficient permissions
- `500`: Internal server error

---

[API](https://skmtc.dev/speedify/apis/speedify-teams-api.md) - [All operations](https://skmtc.dev/speedify/apis/speedify-teams-api/llms.txt) - [OpenAPI document](https://skmtc.dev/speedify/apis/speedify-teams-api/revisions/70fab50c8804?raw)
