//:record/file/:field DELETE
Overview
Removes an attachment from a field for a record and subsequently removes the file from the file system.
Request Arguments
This endpoint does not accept any request arguments.
Response Arguments
Name |
Type |
Description |
field
|
Array
|
The fields containing file properties.
|
field.content-type
|
String
|
The files content type.
|
field.content-length
|
Integer
|
The files content length.
|
field.name
|
String
|
The files ID.
|
field.width
|
Integer
|
The width of the image.
|
field.height
|
Integer
|
The height of the image.
|
field.uri
|
String
|
The URI of the file.
|
Response
{
"picture":{}
}
Change Log
Version |
Change |
v10
|
Added /<module>/:record/file/:field DELETE endpoint.
|