Move task to section
POST
/api/v1/tasks/{gid}/section
Move a task to a section within a project.
Args: gid: Task GID. body: Target section and project GIDs.
Returns: Updated task data.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” gid
required
Gid
string
Request Body required
Section titled “Request Body required ” MoveSectionRequest
Request body for moving a task to a section.
Per FR-API-TASK-014: Move task to section endpoint.
Attributes: section_gid: GID of the target section. project_gid: GID of the project containing the section.
object
section_gid
required
Section Gid
Target section GID
string
project_gid
required
Project Gid
Project GID containing section
string
Responses
Section titled “ Responses ”Successful Response
SuccessResponse[AsanaResource]
object
data
required
meta
required
ResponseMeta
Response metadata
object
request_id
required
Request Id
Request correlation ID
string
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).
null
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string