Skip to main content
Réordonner une tâche

Authorizations

Authorization
string
header
required

Use the access_token returned by POST /v1/auth/token. Do not send the raw API secret on business endpoints.

Headers

X-Request-ID
string

Partner-generated correlation identifier echoed in logs and error payloads.

Body

application/json

Payload for drag & drop reorder.

The position is either an absolute index (new_sort_order, the historical contract kept for older clients) or a neighbour card (before_task_id / after_task_id, SCN_04 PC-18): the server then converts the neighbour into a rank of the stored sequence, so overdue cards that are stored in the column but not shown never shift it.

task_id
string<uuid>
required

UUID de la tâche Kanban à déplacer.

new_status
string
required

Statut cible de la tâche après son déplacement.

new_sort_order
integer | null

Nouvelle position de la tâche dans le périmètre de réordonnancement.

Required range: x >= 0
before_task_id
string<uuid> | null

Drop the card just before this card of the target column.

after_task_id
string<uuid> | null

Drop the card just after this card of the target column.

ordering_scope
enum<string>
default:operation

Périmètre du déplacement: board de l'opération ou board consolidé.

Available options:
operation,
dashboard
expected_updated_at
string<date-time> | null

Optimistic-concurrency guard: the task's updated_at the client based its move on. A mismatch returns a typed 409 with the fresh state instead of silently overwriting a concurrent move.

closing_comment
string | null

Commentaire facultatif enregistré avec la clôture de la tâche.

Maximum string length: 2000

Response

Successful response

Identity-only receipt that does not grant task read access.

id
string<uuid>
required

Identifiant MARKO de la ressource.