There are more AWS SDK examples available in the AWS Doc SDK Examples
Use DeleteRepository
with a CLI
The following code examples show how to use DeleteRepository
.
- AWS CLI
-
To delete a repository
This example shows how to delete an AWS CodeCommit repository.
Command:
aws codecommit delete-repository --repository-name
MyDemoRepo
Output:
{ "repositoryId": "f7579e13-b83e-4027-aaef-650c0EXAMPLE" }
-
For API details, see DeleteRepository
in AWS CLI Command Reference.
-