Using the API unable to delete a Repo within an Organisation where user is in the admin team but not the owner #10593

Closed
opened 2025-11-02 09:12:13 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @brianread108 on GitHub (Apr 5, 2023).

Description

Using the API unable to delete a Repo within an Organisation where user is in the admin team but not the owner.
Return is:
{"message":"Given user is not owner of organization.","url":"https://***********/api/swagger"}
Can do it from web UI.

Gitea Version

1.19

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Debian 11 in LXC under procmox

How are you running Gitea?

Used turnkey template.

Database

MySQL

Originally created by @brianread108 on GitHub (Apr 5, 2023). ### Description Using the API unable to delete a Repo within an Organisation where user is in the admin team but not the owner. Return is: {"message":"Given user is not owner of organization.","url":"https://***********/api/swagger"} Can do it from web UI. ### Gitea Version 1.19 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System Debian 11 in LXC under procmox ### How are you running Gitea? Used turnkey template. ### Database MySQL
GiteaMirror added the type/bug label 2025-11-02 09:12:13 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10593