Skip to content

Delete Repository

codecommit_delete_repository R Documentation

Deletes a repository

Description

Deletes a repository. If a specified repository was already deleted, a null repository ID is returned.

Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository fail.

Usage

codecommit_delete_repository(repositoryName)

Arguments

repositoryName

[required] The name of the repository to delete.

Value

A list with the following syntax:

list(
  repositoryId = "string"
)

Request syntax

svc$delete_repository(
  repositoryName = "string"
)