v1

latestOpenAPI 3.0.02026-07-24115101.2 MB
Template types

Update template type data fields

Use this endpoint to update all data fields in the specified template type. See the Data Field for more information.

put/template_types/{template_type_id}/data_fields

Path parameters

template_type_idinteger required

The unique ID of the template type.

Headers

x-oneflow-api-tokenstring required

The API key of your Oneflow account.

x-oneflow-user-emailstring email required

The email address of a registered Oneflow user.

Request body

Example request

{
  "data_fields": [
    {
      "custom_id": "custom_id_participant_last_name",
      "name": "Participant Last Name"
    }
  ]
}

Response

Returns the created data fields information.