properties/overwrite
POST https://api.dropboxapi.com/2/file_properties/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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Dropbox-API-Path-Root | string | ||
Dropbox-API-Select-User | string |