Documentation

Skills

Update skill

ProductionStagingUAT
PUThttps://ankiren.com/api/admin/skills/{id}

Parameters

Path Parameters

  • idstringpathRequired

Request Body

Bắt buộc.

  • namestringRequired
  • descriptionstring
  • parentIdstring?
application/json
{
  "name": "string",
  "description": "string",
  "parentId": "string"
}

Responses

200 · Skill updated

Không có body.

Sample Code

Đổi ngôn ngữ ở ô Language trên thanh Documentation.

cURL
curl -X PUT 'https://ankiren.com/api/admin/skills/{id}' \
  -H 'Authorization: Bearer <token>' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "description": "string",
  "parentId": "string"
}'