Skip to main content
PUT
/
api
/
v1
/
skills
/
{name}
/
index
Update skill index
curl --request PUT \
  --url http://localhost:3000/api/v1/skills/{name}/index \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tags": [
    "<string>"
  ],
  "category": "<string>"
}
'
{
  "ok": true,
  "data": {
    "skill": "<string>",
    "tags": [
      "<string>"
    ],
    "category": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.

Path Parameters

name
string
required

Body

application/json
tags
string[]
category
string

Response

200 - application/json

Index entry updated

ok
boolean
required
data
object
required