Test And Accept
API ReferenceUserstories

Reorder user stories

Update the order of multiple user stories

PUT
/user-stories/reorder
AuthorizationBearer <token>

Clerk authentication token

In: header

storyUpdatesarray<object>

Response Body

curl -X PUT "http://localhost:3001/user-stories/reorder" \
  -H "Content-Type: application/json" \
  -d '{
    "storyUpdates": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "orderIndex": 9007199254740991
      }
    ]
  }'
{
  "success": true
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}