Skip to main content

PUT /columns/{id}/move

Description

Moves a column to a specified position

The route handles the HTTP PUT request made to the columns/{id}/move path.

Path parameters

The next parameter is sent in the request line:

NameTypeDescription
idnumberRequired. The ID of the column to be moved.

Payload

The server expects to receive a json object with the next properties:

NameTypeDescription
beforenumberOptional. The ID of the column before which the moved column should be placed.

Example:

{
"before": 3
}

Response

The server returns a json object with the ID of the moved column.

Example:

{
"id": 4
}

The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).


Related articles: Working with server