Skip to content

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

Description

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

Usage

ecrpublic_delete_repository_policy(registryId, repositoryName)

Arguments

  • registryId

    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.

  • repositoryName

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

Value

A list with the following syntax:

list(
  registryId = "string",
  repositoryName = "string",
  policyText = "string"
)

Request syntax

svc$delete_repository_policy(
  registryId = "string",
  repositoryName = "string"
)