templates/update_for_team
POST https://api.dropboxapi.com/2/file_properties/templates/update_for_team
scope: files.team_metadata.write
Update a template associated with a team. This route can update the template name, the template description and add optional properties to templates.
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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"template_id":"ptid:1a5n2i6d3OYEAAAAAAAAAYa"}