latestSwagger 2.02026-08-22297195850.3 KB
d98b7da55533
Repositories
Delete a repository
Deletes the repository. This is an irreversible operation.
This does not affect its forks.
delete/repositories/{workspace}/{repo_slug}
Query parameters
redirect_tostring
If a repository has been moved to a new location, use this parameter to show users a friendly message in the Bitbucket UI that the repository has moved to a new location. However, a GET to this endpoint will still return a 404.
Response
Indicates successful deletion.