Delete a document
Attachment delete
Example request:
Parameter | Description | Examples |
---|---|---|
Action | Defines the the API | action=delete |
Parameters described in overview | ||
Input | Identifies the record(s) you wish to delete | {"data":... |
attachmentID | "attachmentID":5464 |
Delete
http:///jsonapi/attachments.json?&user=user&password=user&version=3.1&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"
}
]
}