Skip to content

Delete Object

clouddirectory_delete_object R Documentation

Deletes an object and its associated attributes

Description

Deletes an object and its associated attributes. Only objects with no children and no parents can be deleted. The maximum number of attributes that can be deleted during an object deletion is 30. For more information, see Amazon Cloud Directory Limits.

Usage

clouddirectory_delete_object(DirectoryArn, ObjectReference)

Arguments

DirectoryArn

[required] The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

ObjectReference

[required] A reference that identifies the object.

Value

An empty list.

Request syntax

svc$delete_object(
  DirectoryArn = "string",
  ObjectReference = list(
    Selector = "string"
  )
)