Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

Delete all repositories in an organization

DELETE
/orgs/{org}/repos
curl --request DELETE \
--url https://gitea.com/api/v1/orgs/example/repos \
--header 'Authorization: Basic <credentials>'
org
required
string

Name of the organization

APIEmpty is an empty response

APIEmpty is an empty response

APIForbiddenError is a forbidden error response

message
string
url
string

APINotFound is a not found empty response