Method
|
DELETE
|
URL
|
/v2/<object_full_identifier>/<record_uuid>/attachment
|
Parameters
|
• names: Comma-separated list of file names to delete.
• version: Supported values are all and latest.
• all: All versions of the specified attachments are removed, and the attachment itself is removed from the record.
• latest: Only the latest version of a specified attachment is removed. If additional versions of an attachment exist, the attachment is not removed from the record. If no other versions exist, the attachment itself is removed from the record.
|
Response Content Type
|
n/a
|
HTTP Status Code
|
Error Message
|
---|---|
400
|
The object identifier or record UUID were not specified or are invalid.
The names or version parameters were not specified or are invalid
|
404
|
The record specified to remove attachments from was not found (or user has no permission to access it)
Any of the file names specified on the names parameter was not found as an attachment for the specified record
|
500
|
Internal Server error
|