---
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

---

[API](https://skmtc.net/kong/apis/konnect-api.md) · [All operations](https://skmtc.net/kong/apis/konnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api/versions/06734a9c491f/schema)
