LogoFreestyle
API Reference/Git

Delete a repository

Delete a repository. This is irreversible, and will also delete the repository on the Git server.

DELETE/git/v1/repo/{repo}

Path Parameters

repoRequiredstring

The repository id

Response Body

200

Repository deleted successfully

responseRequiredobject

400

Invalid request

messageRequiredstring

403

User does not have permission to delete this repository

messageRequiredstring

404

Repository does not exist

responseRequiredobject

500

Internal server error

messageRequiredstring
curl -X DELETE "https://api.freestyle.sh/git/v1/repo/<string>"

Repository deleted successfully

{}