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
/user/projects/{id}/columns/move
curl --request POST \
--url https://gitea.com/api/v1/user/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.

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>
Examplegenerated
{
"column_ids": [
1
]
}

APIEmpty is an empty response

APIForbiddenError is a forbidden error response

message
string
url
string

APINotFound is a not found empty response

APIValidationError is error format response related to input validation

message
string
url
string