aws ecr delete-repository
Deletes a repository. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--forceIf true, deleting the repository force deletes the contents of the repository.--registry-idThe Amazon Web Services account ID associated with the registry that contains the repository to delete.--repository-nameThe name of the repository to delete.