v2
latestOpenAPI 3.0.02026-08-013312111.4 MBRepositories
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.