---
title: "DELETE /api/repos/{namespace}/{repository}/collaborators/{username}"
method: DELETE
path: "/api/repos/{namespace}/{repository}/collaborators/{username}"
tags: ["repository"]
---

# DELETE /api/repos/{namespace}/{repository}/collaborators/{username}

`DELETE /api/repos/{namespace}/{repository}/collaborators/{username}`

## Path parameters

- `namespace` string, required
- `repository` string, required
- `username` string, required

## Response `204`

Collaborator removed

## Other responses

- `400` — Cannot remove the repository owner
- `401` — Authentication required
- `403` — Insufficient permissions
- `404` — Repository or collaborator not found

---

[API](https://skmtc.dev/mari/apis/gitarena.md) · [All operations](https://skmtc.dev/mari/apis/gitarena/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mari/gitarena/revisions/b3640d5600df/schema)
