---
title: "Delete an auth server"
method: DELETE
path: "/v1/auth-servers/{authServerId}"
tags: ["Auth Server"]
---

# Delete an auth server

`DELETE /v1/auth-servers/{authServerId}`

Delete an auth server. If force=true, delete the auth server and all its associated resources. If force=false, only allow deletion if no resources are associated with the auth server. This action is irreversible.

## Query parameters

- `force` 'true' | 'false'

## Response `204`

Success

## Other responses

- `400` — Bad Request
- `404` — Not Found

## Changes

- **2025-11-26** `3575228c4a98` — 2 info
  - added the new optional `query` request parameter `force`
  - added the non-success response with the status `400`
- **2025-08-12** `b2800570b3e2` — 2 info
  - api tag `Auth Server` added
  - api tag `authserver` removed
- **2025-06-05** `a0a9c5c8afa2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/kong/apis/konnect-api-beta/changes/v1/auth-servers/:authServerId/delete.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-beta.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api-beta/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/konnect-api-beta/revisions/658ffb748f95/schema)
