Back to DropboxFile Properties - Templates - Update For User
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.
Input
type: object
properties:
data:
type: object
description: >
template_id: An identifier for template added by See
:route:`templates/add_for_user` or :route:`templates/add_for_team`.
name: A display name for the template. template names can be up to 256
bytes.
description: Description for the new template. Template descriptions can
be up to 1024 bytes.
add_fields: Property field templates to be added to the group template.
There can be up to 32 properties in a single template.
properties:
add_fields:
type: array
description: >-
Property field templates to be added to the group template. There can
be up to 32 properties in a single template.
items:
type: object
description: >
Defines how a single property field may be structured. Used
exclusively by :type:`PropertyGroupTemplate`.
name: Key of the property field being described. Property field keys
can be up to 256 bytes.
description: Description of the property field. Property field
descriptions can be up to 1024 bytes.
type: Data type of the value of this property field. This type will
be enforced upon property creation and modifications.
properties:
type:
type: object
description: >
Data type of the given property field added.
string: The associated property field will be of type string.
Unicode is supported.
other: None
properties:
.tag:
title: Choice of PropertyType
type: string
enum:
- string
- other
name:
type: string
description: >-
Key of the property field being described. Property field keys
can be up to 256 bytes.
description:
type: string
description: >-
Description of the property field. Property field descriptions
can be up to 1024 bytes.
description:
type: string
description: >-
Description for the new template. Template descriptions can be up to
1024 bytes.
template_id:
type: string
description: >-
An identifier for template added by See
:route:`templates/add_for_user` or :route:`templates/add_for_team`.
name:
type: string
description: >-
A display name for the template. template names can be up to 256
bytes.
title: Data
Output
type: object
description: >
template_id: An identifier for template added by route See
:route:`templates/add_for_user` or :route:`templates/add_for_team`.
properties:
template_id:
type: string
description: >-
An identifier for template added by route See
:route:`templates/add_for_user` or :route:`templates/add_for_team`.