/users/{username}/projectsV2/{project_number}/fieldsCreate a field in a user-owned project
Creates a field in a project owned by the specified user. Choose a data_type of text, number, date, single_select, or iteration and provide the configuration required for that type. A 201 response returns the created field, including its identifier and project URL.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Field definition for the project. The required fields and configuration depend on the selected data_type.
A 401 is returned when authentication is required but missing or invalid. A 403 is returned when you are not permitted to create a field in the project. A 422 is returned when validation fails or the endpoint has been spammed. name and data_type are required; data_type must be text, number, date, single_select, or iteration. For a single-select field, provide at least one single_select_options entry; for an iteration field, provide iteration_configuration with start_date and duration.