Documentation

Decks

Update deck

ProductionStagingUAT
PUThttps://ankiren.com/api/decks/{id}

Parameters

Path Parameters

  • idstringpathRequired

Request Body

Bắt buộc.

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

Responses

200 · Deck updated

Không có body.

Sample Code

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

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