Skip to main content

Delete attachment

Delete an attachment by its sys_id.

Command in the ServiceNow toolkit · id ooa.servicenow/delete_attachment · 6 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Instance address (URL)StringNoInstance URL, e.g. https://yourcompany.service-now.com.
Attachment IDStringYesAttachment sys_id, from List attachments.
UserStringNoUser name.
PasswordCredentialNoPassword from the vault.
Access tokenCredentialNoOAuth token from the vault.
API versionStringNoVersion of the ServiceNow REST API to call: v1, v2, or latest (the instance's current one) when empty (G6).