Add task types with their priority, task statuses and asset types to a project in one request. The unknown identifiers are skipped. If replace_task_types is true, the task types of the project are replaced, and the removed task types leave the workflows of the project. You must be a manager of the project.
POST
/data/projects/{project_id}/settings/batch
curl \
--request POST '/api/data/projects/a24a6ea4-ce75-4665-a070-57453082c250/settings/batch' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"task_types": [
{
"task_type_id": "string",
"priority": 42,
"is_client_visible": true
}
],
"task_status_ids": [
"string"
],
"asset_type_ids": [
"string"
],
"replace_task_types": false
}'
Request examples
{
"task_types": [
{
"task_type_id": "string",
"priority": 42,
"is_client_visible": true
}
],
"task_status_ids": [
"string"
],
"asset_type_ids": [
"string"
],
"replace_task_types": false
}