CmdID / aws / aws codeartifact
aws codeartifact delete-repository
Deletes a repository. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To delete a repository
The following delete-repository example deletes a repository named test-repo in a domain named test-domain.
aws codeartifact delete-repository --domain test-domain --repository test-repoIdentify--domainThe name of the domain that contains the repository to delete.--repositoryThe name of the repository to delete.Its output
{
"repository": {
"name": "test-repo",
"administratorAccount": "123456789012",
"domainName": "test-domain",
"domainOwner": "123456789012",
"arn": "arn:aws:codeartifact:us-west-2:123456789012:repository/test-domain/test-repo",
"description": "This is a test repository",
"upstreams": [],
"externalConnections": []
}
}For more information, see Delete a repository in the AWS CodeArtifact User Guide.
Options
--domain-ownerThe 12-digit account number of the Amazon Web Services account that owns the domain.--domainThe name of the domain that contains the repository to delete.--repositoryThe name of the repository to delete.