Skip to main content
PUT
Update the order of all tasks within a script. Provide an array of task ID + order pairs.

Authorizations

X-API-KEY
string
header
required

Your Classet API key. Create and rotate keys in Settings → API.

Path Parameters

scriptId
string
required

The ID of the script whose tasks to reorder.

Body

application/json
tasks
object[]
required

Array of objects, each with task_id (integer) and order (integer, 0-indexed).

Response

Reordered

data
object
required