Back to DropboxFile Properties - Templates - Add For Team
Add a template associated with a team. See :route:properties/add
to add properties to a file or folder.
Note: this endpoint will create team-owned templates.
Input
type: object
properties:
data:
type: object
description: >
name: Display name for the template. Template names can be up to 256
bytes.
description: Description for the template. Template descriptions can be up
to 1024 bytes.
fields: Definitions of the property fields associated with this template.
There can be up to 32 properties in a single template.
properties:
fields:
type: array
description: >-
Definitions of the property fields associated with this 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.
name:
type: string
description: Display name for the template. Template names can be up to 256 bytes.
description:
type: string
description: >-
Description for the template. Template descriptions can be up to 1024
bytes.
title: Data
Output
type: object
description: >
template_id: An identifier for template added by See
:route:`templates/add_for_user` or :route:`templates/add_for_team`.
properties:
template_id:
type: string
description: >-
An identifier for template added by See :route:`templates/add_for_user`
or :route:`templates/add_for_team`.