v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142314899.7 KB

Deletes a repository in a public registry. If the repository contains images, you must either manually delete all images in the repository or use the <code>force</code> option. This option deletes all images on your behalf before deleting the repository.

post/#X-Amz-Target=SpencerFrontendService.DeleteRepository

Headers

X-Amz-Target'SpencerFrontendService.DeleteRepository' required

Request body

registryIdstring

The Amazon Web Services account ID that's associated with the public registry that contains the repository to delete. If you do not specify a registry, the default public registry is assumed.

repositoryNamestring required

The name of the repository to delete.

forceboolean

The force option can be used to delete a repository that contains images. If the force option is not used, the repository must be empty prior to deletion.

Response

Success