Update a project
PUT
/projects/{project_gid}
Projects
the URL for that project. Only the fields provided in the
data
blockwill be updated; any unspecified fields will remain unchanged.
to change, or else you may overwrite changes made by another user since
you last retrieved the task.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://app.asana.com/api/1.0/projects/' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
200 - Example 1
{
"data": {
"gid": "12345",
"resource_type": "task",
"name": "Stuff to buy",
"archived": false,
"color": "light-green",
"created_at": "2012-02-22T02:06:58.147Z",
"current_status": {
"gid": "12345",
"resource_type": "task",
"title": "Status Update - Jun 15",
"color": "green",
"html_text": "<body>The project <strong>is</strong> moving forward according to plan...</body>",
"text": "The project is moving forward according to plan...",
"author": {
"gid": "12345",
"resource_type": "task",
"name": "Greg Sanchez"
},
"created_at": "2012-02-22T02:06:58.147Z",
"created_by": {
"gid": "12345",
"resource_type": "task",
"name": "Greg Sanchez"
},
"modified_at": "2012-02-22T02:06:58.147Z"
},
"custom_field_settings": [
{
"gid": "12345",
"resource_type": "task"
}
],
"default_view": "calendar",
"due_date": "2019-09-15",
"due_on": "2019-09-15",
"html_notes": "<body>These are things we need to purchase.</body>",
"is_template": false,
"members": [
{
"gid": "12345",
"resource_type": "task",
"name": "Greg Sanchez"
}
],
"modified_at": "2012-02-22T02:06:58.147Z",
"notes": "These are things we need to purchase.",
"public": false,
"start_on": "2019-09-14",
"workspace": {
"gid": "12345",
"resource_type": "task",
"name": "My Company Workspace"
},
"custom_fields": [
{
"gid": "12345",
"resource_type": "task",
"display_value": "blue",
"enabled": true,
"enum_options": [
{
"gid": "12345",
"resource_type": "task",
"color": "blue",
"enabled": true,
"name": "Low"
}
],
"name": "Status",
"number_value": 5.2,
"resource_subtype": "text",
"text_value": "Some Value",
"type": "text"
}
],
"followers": [
{
"gid": "12345",
"resource_type": "task",
"name": "Greg Sanchez"
}
],
"icon": "chat_bubbles",
"owner": {
"gid": "12345",
"resource_type": "task",
"name": "Greg Sanchez"
},
"permalink_url": "https://app.asana.com/0/resource/123456789/list",
"team": {
"gid": "12345",
"resource_type": "task",
"name": "Marketing"
}
}
}
Request
Path Params
project_gid
string
required
Body Params application/json
Responses
Modified at 2022-09-13 02:00:31