---
title: "Remove Admin"
method: DELETE
path: "/api/admin/{username}"
tags: ["Admin"]
---

# Remove Admin

`DELETE /api/admin/{username}`

Remove an admin from the database.

## Path parameters

- `username` string, required

## Response `204`

Successful Response

## Other responses

- `401` — Unauthorized Error
- `403` — Forbidden Error
- `422` — Validation Error

---

[API](https://skmtc.dev/socialser/apis/pasarguardapi.md) · [All operations](https://skmtc.dev/socialser/apis/pasarguardapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socialser/pasarguardapi/revisions/4b082bbcb6c3/schema)
