dcloud s3 bucket-objects delete

Delete up to 1000 objects

IAM s3:DeleteObjectChanges stateAsks before it deletes (-y skips)

Answers { deleted, errors }. A key that does not exist counts as deleted, as in S3.

Synopsis

dcloud s3 bucket-objects delete name --keys keys

Arguments

  • <name>Required

    string

    Also accepted as --name. Constraints: 3-63 chars, /^[a-z0-9][a-z0-9-]*[a-z0-9]$/

Flags

  • --keysRequired

    array of string

    Keys of the objects to delete; in a versioned bucket each gets a delete marker and its versions stay

    Constraints: min 1 chars

Example

dcloud s3 bucket-objects delete name --keys '["example"]'

Generated from the API description, the same one the API checks requests against and the CLI is built from.