Deleting a Repository

Delete code repositories including all the branches, triggers, comments, pull requests, and history. Deleting the repository can't be undone, and you can't connect to a deleted repository.

For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.

    1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
    2. Select a project and from the left-side menu, click Code Repositories.
    3. Select a repository that you want to delete, click More actions and select Delete.
    4. In the Delete repository dialog box, enter the name of the repository that you want to delete and click Delete.

      The Delete action deletes the repository including all branches, triggers, comments, pull requests, and history. Deleting the repository can't be undone, and you can't connect to a deleted repository.

  • To delete a repository, run the delete command:

    oci devops repository delete --repository-id

    To get all the commands for repository:

    oci devops repository -h
  • To delete a repository, use the DeleteRepository operation.