Delete an object from an app-managed bucket using the Data Management API.
Usage
deleteObject(token = NULL, bucket = "mybucket", object = NULL)
Arguments
- token
A string or aps_token object with
data:write scope.
- bucket
A string. Name of the bucket. Defaults to mybucket.
- object
A string. Key (name) of the object to delete.
Value
An object containing the HTTP status code of the response.
Examples
if (FALSE) { # \dontrun{
# Delete the "aerial.dwg" object from "mybucket"
resp <- deleteObject(token = myToken, bucket = "mybucket", object = "aerial.dwg")
} # }