Delete

Delete a document

Attachment delete

Parameter

Description

Examples

More info

API

The API area

attachments.json

-

Action

Defines the API

action=delete

-

General

Parameters described in overview

user=user&password=user

v3.3 Overview

Input

Identifies the record(s) you wish to delete

{"data": [...]} format

-

Input (mandatory)

attachmentID

"attachmentID":5464

-

Example request:

http://<SERVER>/jsonapi/attachments.json?&user=user&password=user&version=3.3&action=delete&input={"data":[{"attachmentID":5464}]}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "attachmentID": 5464,
      "attachmentUuid": "9B7100C5B37B4F49B6B04F30833BAFC2"
    }
  ]
}