Skip to content

Update a project

PUT
/api/v1/projects/{gid}

Update an existing project.

Per FR-API-PROJ-003: Update project fields.

Only provided fields are updated; omitted fields retain their values.

Args: gid: Asana project GID. body: Fields to update.

Returns: Updated project data.

gid
required
Gid
string
UpdateProjectRequest

Request body for updating a project.

Per FR-API-PROJ-003: Update project endpoint.

All fields are optional; only provided fields are updated.

Attributes: name: New project name. notes: New project description. archived: Archive status.

object
name
Any of:
string
>= 1 characters
notes
Any of:
string
archived
Any of:
boolean

Successful Response

SuccessResponse[AsanaResource]
object
data
required
AsanaResource

Response data payload

object
gid
required
Gid

Globally unique Asana resource identifier

string
resource_type
Any of:
string
name
Any of:
string
key
additional properties
any
meta
required
ResponseMeta

Response metadata

object
request_id
required
Request Id

Request correlation ID

string
>= 1 characters
timestamp
Timestamp

Response timestamp (UTC)

string format: date-time
pagination
Any of:
PaginationMeta

Pagination metadata for list responses.

Per ADR-ASANA-008: Cursor-based pagination with opaque offset.

Attributes: limit: Number of items requested per page. has_more: Whether more items exist after this page. next_offset: Opaque cursor for next page (None if no more pages).

object
limit
required
Limit

Number of items per page

integer
>= 1
has_more
required
Has More

Whether more items exist

boolean
next_offset
Any of:
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string