Skip to main content
PATCH
/
api
/
v1
/
admin
/
teams
/
{slug}
/
faqs
Admin Update Team Faqs
curl --request PATCH \
  --url https://api.example.com/api/v1/admin/teams/{slug}/faqs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "faqs": [
    {}
  ],
  "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

slug
string
required

Body

application/json

Replace the faqs JSONB list for a team.

Each entry must have non-blank question + answer strings — an empty FAQ row is worse than no row at all (breaks the accordion render).

faqs
Faqs · object[]
required
Minimum array length: 1
note
string | null
Maximum string length: 500

Response

Successful Response