Edit a project column
const url = 'https://gitea.com/api/v1/user/projects/1/columns/1';const options = { method: 'PATCH', headers: {Authorization: 'Basic <credentials>', 'Content-Type': 'application/json'}, body: '{"color":"example","sorting":1,"title":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://gitea.com/api/v1/user/projects/1/columns/1 \ --header 'Authorization: Basic <credentials>' \ --header 'Content-Type: application/json' \ --data '{ "color": "example", "sorting": 1, "title": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Id of the project
Id of the column
Request Body
Section titled “Request Body”EditProjectColumnOption represents options for editing a project column
object
Column color in 6-digit hex format, e.g. #FF0000
Position of the column within the project, between -128 and 127
Examplegenerated
{ "color": "example", "sorting": 1, "title": "example"}Responses
Section titled “Responses”ProjectColumn
ProjectColumn represents a project column (board)
object
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s gitea page
The user’s id
Is the user an administrator
User locale
The user’s location
Login of the user, same as username
Identifier of the user, provided by the external authenticator (if configured)
Is user login prohibited
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
Null only for legacy rows that carry no update timestamp
Example
{ "creator": { "visibility": "public" }}APIForbiddenError is a forbidden error response
Headers
Section titled “Headers”APINotFound is a not found empty response
APIValidationError is error format response related to input validation