Deleting a Pull Request
You can permanently remove unwanted pull requests. Along with the PR, all its resources such as comments and file attachments are also deleted. After the PR is deleted, it can't be reverted.
- Open the navigation menu and click Developer Services. Under DevOps, click Projects.
- Select a project and from the left-side menu, click Code Repositories.
- Select a code repository and click the Pull Requests link on the left-side menu.
- Select a pull request that you want to delete.
- Under More actions, click the Delete link.
- Click Delete to permanently delete the pull request.
To retrieve a pull request, run the get command:
oci devops pull-request get --pull-request-id
To delete a pull request, run the delete command:
oci devops pull-request delete --pull-request-id
To delete a pull request, use the
DeletePullRequest
operation.