Sections

Move or Insert sections

Move sections relative to each other. One of before_section or after_section is required.

Sections cannot be moved between projects.

Returns an empty data block.

post/projects/{project_gid}/sections/insert

Request

  • Base URL: https://app.asana.com/api/1.0
  • URL: https://app.asana.com/api/1.0/projects/{project_gid}/sections/insert
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.asana.com/-/oauth_authorize, token URL https://app.asana.com/-/oauth_token)

Request body

Example request

{
  "data": {
    "section": "321654",
    "before_section": "86420",
    "after_section": "987654"
  }
}

Response

Successfully moved the specified section.

dataEmptyResponse

An empty object. Some endpoints do not return an object on success. The success is conveyed through a 2-- status code and returning an empty object.

Changes

No operation changes recorded.