PUT
/
cards
/
{cardPublicId}
/
reorder
curl --request PUT \
  --url https://kanbn.com/api/v1/cards/{cardPublicId}/reorder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "currentListPublicId": "<string>",
  "newListPublicId": "<string>",
  "currentIndex": 123,
  "newIndex": 123
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardPublicId
string
required
Minimum length: 12

Body

application/json
newListPublicId
string
required
Minimum length: 12
currentListPublicId
string
Minimum length: 12
currentIndex
number
newIndex
number

Response

200
application/json
Successful response
success
boolean
required