Skip to main content
POST
/
tasks
/
update
Update task by id
curl --request POST \
  --url https://api.obselite.com/v0/tasks/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "aliasId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "weight": 123,
  "priority": 123,
  "statusId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "isComplete": true,
  "isEnabled": true,
  "lockedAt": "<string>",
  "include": "<string>",
  "cycles": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "files": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "labels": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "links": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "resources": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "subtasks": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "surtasks": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "teams": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "users": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "subscribers": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "aliasId": "<string>",
  "statusId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "description": "<string>",
  "isComplete": true,
  "isEnabled": true,
  "lockedAt": "<string>",
  "organization": {},
  "user": {},
  "status": {},
  "comments": [
    {}
  ],
  "cycles": [
    {}
  ],
  "files": [
    {}
  ],
  "labels": [
    {}
  ],
  "links": [
    {}
  ],
  "resources": [
    {}
  ],
  "subtasks": [
    {}
  ],
  "surtasks": [
    {}
  ],
  "teams": [
    {}
  ],
  "users": [
    {}
  ],
  "subscribers": [
    {}
  ],
  "activities": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

The API token generated from the Obselite dashboard

Body

application/json
id
string<uuid>

Task UUID

aliasId
string
name
string
description
weight
integer
priority
integer
statusId
string<uuid> | null

Status UUID

isComplete
boolean
isEnabled
boolean
lockedAt
string | null
include
string

Available options: status, comments, cycles, files, labels, links, resources, subtasks, surtasks, teams, users, subscribers, activities

cycles
string<uuid>[]
files
string<uuid>[]
labels
string<uuid>[]
resources
string<uuid>[]
subtasks
string<uuid>[]
surtasks
string<uuid>[]
teams
string<uuid>[]
users
string<uuid>[]
subscribers
string<uuid>[]

Response

Successful response

id
string<uuid>
required

Task UUID

name
string
required
aliasId
string
required
userId
string<uuid>
required

User UUID

description
required
isComplete
boolean
required
isEnabled
boolean
required
statusId
string<uuid> | null

Status UUID

lockedAt
string | null
organization
object | null

The organization that owns this task, following the organization schema

user
object | null

The user who created this task, following the user schema

status
object | null

The current status of this task, following the status schema

comments
array
cycles
array
files
array
labels
array
resources
array
subtasks
array
surtasks
array
teams
array
users
array
subscribers
array
activities
array