Skip to content

Delete Repository Policy

ecr_delete_repository_policy R Documentation

Deletes the repository policy associated with the specified repository

Description

Deletes the repository policy associated with the specified repository.

Usage

ecr_delete_repository_policy(registryId, repositoryName)

Arguments

registryId

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

repositoryName

[required] The name of the repository that is 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"
)

Examples

## Not run: 
# This example deletes the policy associated with the repository named
# ubuntu in the current account.
svc$delete_repository_policy(
  repositoryName = "ubuntu"
)

## End(Not run)