Skip to main content
PATCH
/
api
/
v1
/
admin
/
task-types
/
{category}
/
{task_type}
/
state
Set Task Type State
curl --request PATCH \
  --url https://api.example.com/api/v1/admin/task-types/{category}/{task_type}/state \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "note": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

category
string
required
task_type
string
required

Body

application/json

Change state of a single task type override (category, task_type).

state=live deletes any existing override so "missing row ≡ live" invariant is preserved.

state
enum<string>
required
Available options:
draft,
coming_soon,
beta,
live,
hidden
note
string | null
Maximum string length: 500

Response

Successful Response