v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142314899.7 KB

Deletes the repository policy that's associated with the specified repository.

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

Headers

X-Amz-Target'SpencerFrontendService.DeleteRepositoryPolicy' required

Request body

registryIdstring

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

repositoryNamestring required

The name of the repository that's associated with the repository policy to delete.

Response

Success

registryIdstring

The registry ID that's associated with the request.

repositoryNamestring

The repository name that's associated with the request.

policyTextstring

The JSON repository policy that was deleted from the repository.