System metadata
Deletes this object on the server.
const contentful = require('contentful-management')
const client = contentful.createClient({ accessToken: '' })
client.getSpace('') .then((space) => space.getEnvironment('')) .then((environment) => environment.getUpload('')) .then((upload) => upload.delete()) .then((upload) => console.log(upload ${upload.sys.id} updated.)) .catch(console.error)
upload ${upload.sys.id} updated.
Promise for the deletion. It contains no data, but the Promise error case should be handled.
System metadata