This action deletes an existing attachment from ExtraView. Deleting an attachment removes it from the current issue, but preserves a copy within the history of the issue.
http://www.myserver.com/evj/ExtraView/ev_api.action?
user_id=username
&password=password OR [&access_token=token-value]
&statevar=delete_attachment
&attachment_id=nnnnn
You must provide an existing attachment_id. You must have update permission to the security key named PR_RESOLUTION.ATTACHMENT_DELETE
before you can execute the command.
The optional access_token
parameter allows you to use a valid OAuth2 token obtained with the get_token
command. If you provide the access_token
parameter, then the user_id
and password
parameters should not be provided. This prevents the password being sent in clear text over your network connection.