properties/overwrite

POST https://api.dropboxapi.com/2/file_properties/properties/overwrite

properties/overwrite

scope: files.metadata.write

Overwrite property groups associated with a file. This endpoint should be used instead of properties/update when property groups are being updated via a snapshot instead of via a delta. In other words, this endpoint will delete all omitted fields from a property group, whereas properties/update will only delete fields that are explicitly marked for deletion.

Request Body

{"path"=>"/my_awesome/word.docx", "property_groups"=>[{"template_id"=>"ptid:1a5n2i6d3OYEAAAAAAAAAYa", "fields"=>[{"name"=>"Security Policy", "value"=>"Confidential"}]}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Dropbox-API-Path-Rootstring
Dropbox-API-Select-Userstring