provider Attachments DELETE /attachments/{attachment_gid}
@utdk/asana /attachments/{attachment_gid}
Delete an attachment
<b>Required scope: </b><code>attachments:delete</code> Deletes a specific, existing attachment. Returns an empty data record.
attachment_gid path required
Globally unique identifier for the attachment.
string
opt_pretty query
Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
boolean

Try it

Authentication
Configure credentials for Asana
deleteattachment
DELETE/attachments/{attachment_gid}
<b>Required scope: </b><code>attachments:delete</code> Deletes a specific, existing attachment. Returns an empty data record.

Parameters

required

Globally unique identifier for the attachment.

Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import asana from '@utdk/asana';

await asana.deleteattachment()