Skip to main content
POST
/
api
/
v1
/
admin
/
teams
/
bulk-state
Bulk Set Team State
curl --request POST \
  --url https://api.example.com/api/v1/admin/teams/bulk-state \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "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.

Body

application/json

Atomic bulk state change (agents or teams).

Bounded at 200 ids to keep a single transaction's memory footprint and lock window small. Exceeding the bound → 422.

ids
string<uuid>[]
required
Required array length: 1 - 200 elements
state
enum<string>
required
Available options:
draft,
coming_soon,
beta,
live,
hidden
note
string | null
Maximum string length: 500

Response

Successful Response