Deletes an existing image repository. If a repository contains images,
you must use the force
option to delete it.
ecr_delete_repository(registryId, repositoryName, force)
The AWS account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.
[required] The name of the repository to delete.
If a repository contains images, forces the deletion.
svc$delete_repository( registryId = "string", repositoryName = "string", force = TRUE|FALSE )
# NOT RUN {
# This example force deletes a repository named ubuntu in the default
# registry for an account. The force parameter is required if the
# repository contains images.
# }
# NOT RUN {
svc$delete_repository(
force = TRUE,
repositoryName = "ubuntu"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab