templates/update_for_user

POST https://api.dropboxapi.com/2/file_properties/templates/update_for_user

templates/updateforuser

scope: files.metadata.write

Update a template associated with a user. This route can update the template name, the template description and add optional properties to templates. This endpoint can't be called on a team member or admin's behalf.

Request Body

{"template_id"=>"ptid:1a5n2i6d3OYEAAAAAAAAAYa", "name"=>"New Security Template Name", "description"=>"These properties will describe how confidential this file or folder is.", "add_fields"=>[{"name"=>"Security Policy", "description"=>"This is the security policy of the file or folder described.\nPolicies can be Confidential, Public or Internal.", "type"=>"string"}]}

HEADERS

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

RESPONSES

status: OK

{"template_id":"ptid:1a5n2i6d3OYEAAAAAAAAAYa"}