Skip to content

Delete Tags

efs_delete_tags R Documentation

DEPRECATED - DeleteTags is deprecated and not maintained

Description

DEPRECATED - delete_tags is deprecated and not maintained. To remove tags from EFS resources, use the API action.

Deletes the specified tags from a file system. If the delete_tags request includes a tag key that doesn't exist, Amazon EFS ignores it and doesn't cause an error. For more information about tags and related restrictions, see Tag restrictions in the Billing and Cost Management User Guide.

This operation requires permissions for the elasticfilesystem:DeleteTags action.

Usage

efs_delete_tags(FileSystemId, TagKeys)

Arguments

FileSystemId

[required] The ID of the file system whose tags you want to delete (String).

TagKeys

[required] A list of tag keys to delete.

Value

An empty list.

Request syntax

svc$delete_tags(
  FileSystemId = "string",
  TagKeys = list(
    "string"
  )
)

Examples

## Not run: 
# This operation deletes tags for an EFS file system.
svc$delete_tags(
  FileSystemId = "fs-01234567",
  TagKeys = list(
    "Name"
  )
)

## End(Not run)