Delete Assets from Record

Deletes one or more assets from a given record.

Resource Information

Scope records
App Type Agency
Authorization Type Access token
URI /v4/records/{recordId}/assets/{ids}?lang={lang}
HTTP Method DELETE
Automation Version(s) 9.0.0

Request Information

Field or Parameter Type Required Values Description Automation Version
ids string No Get All Assets One or multiple identifiers separated by a comma like id1,id2,id3. 9.0.0
lang String No   Indicates the language applied. 9.0.0
recordId string No Get All Records Search Records Get My Records The unique ID associated with a record. 9.0.0

Response Information

Field Type Description Automation Version
result[] result{} An array containing status messages. 9.0.0
result.code string Any error code encountered during the delete operation. 9.0.0
result.id string The unique identifier for the asset assigned by the Civic Platform server. 9.0.0
result.isSuccess boolean Indicates whether or not the operation on the item is successful. 9.0.0
result.message string A text message related to the operation. 9.0.0
status integer The request status. 9.0.0