# Set the workflow of an asset type for a project

**PUT /data/projects/{project_id}/settings/asset-types/{asset_type_id}/task-types**

Replace the task types allowed for an asset type in a project, instead of the studio workflow. An empty list restores the studio workflow. Task types must be asset task types of the project. You must be a manager of the project.


## Servers
- /api: /api ()


## Authentication methods
- Jwt authorization


## Parameters

### Path parameters

- **project_id** (string(uuid))
  Project unique identifier

- **asset_type_id** (string(uuid))
  Asset type unique identifier



### Body: application/json (object)

- **task_type_ids** (array[string(uuid)])
  Task types of the workflow



## Responses
### 200
The project, without its relations. This response does not give asset_types or asset_type_workflows. Use GET /data/projects/<id> to read the workflow.

#### Body: application/json (object)
- **id** (string(uuid))
  Project unique identifier

- **name** (string)
  Project name


### 400
The body is not valid, or the asset type or a task type is not valid for the project

### 403
You are not a manager of the project

### 404
The project does not exist


[Powered by Bump.sh](https://bump.sh)
