Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of the next version, still under development. See the latest release.

Reorder a project's columns

POST
/repos/{owner}/{repo}/projects/{id}/columns/move
curl --request POST \
--url https://gitea.com/api/v1/repos/example/example/projects/1/columns/move \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/json' \
--data '{ "column_ids": [ 1 ] }'

Reorders every column of the project at once. The body lists all column IDs in their new order.

owner
required
string

Owner of the repo

repo
required
string

Name of the repo

id
required
integer format: int64

Id of the project

Media typeapplication/json
MoveProjectColumnsOption

Represents options for reordering a project’s columns

object
column_ids
required

Every column ID of the project, in the desired left-to-right order

Array<integer>

Example generated

{
"column_ids": [
1
]
}

APIEmpty is an empty response

APIError is error format response

message
string
url
string