---
title: "Delete Consumer Key"
method: DELETE
path: "/user/consumerKeys/{consumerKey}"
tags: ["consumerkey"]
---

# Delete Consumer Key

`DELETE /user/consumerKeys/{consumerKey}`

## Request

- Base URL: `https://pro.api.serversmtp.com/api/v2`
- URL: `https://pro.api.serversmtp.com/api/v2/user/consumerKeys/{consumerKey}`
- Auth: API key in header `Authorization`

Delete Consumer Key
Note: Consumer Key deletion is not allwed when authenticated via Comsumer Key.

## Path parameters

- `consumerKey` string, required

## Response `200`

Sucess

Consumer Key was deleted.

- CommonSuccessResponseBody
  - `message` 'success'

## Other responses

- `401`: Unauthorized This API requires a valid API Key to be provided. (Use [/authentication/authorize](#/authentication/AuthenticationLogin) to obtain an API Key) Produces: * missing_authorization_key * invalid_authorization_key * account_is_inactive
- `404`: Not Found Please verify the Consumer Key is valid.

---

[API](https://skmtc.dev/serversmtp/apis/turbosmtp-public-apis.md) - [All operations](https://skmtc.dev/serversmtp/apis/turbosmtp-public-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/serversmtp/apis/turbosmtp-public-apis/revisions/8503e099b215?raw)
