Skip to main content
POST
/
api
/
workspaces
/
{id}
/
projects
/
{project_id}
/
phases
/
reorder
Reorder Phases
curl --request POST \
  --url http://localhost:8080/api/workspaces/{id}/projects/{project_id}/phases/reorder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phase_orders": [
    123
  ]
}
'
[
  {
    "project_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "phase_order": 123,
    "status": "<string>",
    "created_at": "<string>",
    "tasks": []
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required
project_id
string
required

Body

application/json
phase_orders
integer[]
required

Response

Successful Response

project_id
string
required
name
string
required
description
string
required
phase_order
integer
required
status
string
required
created_at
string
required
tasks
TaskResponse · object[]