Skip to content

タグ更新 Tier 4

PATCH/api/files/:id/tagCopied!

ファイルのレビュータグを更新します。

ts
await client.files.updateTag("FX1234567890ABCD", {
  tag: "APPROVED",
});
bash
youvico file update.tag \
  --id FX1234567890ABCD \
  --tag APPROVED
bash
curl -X PATCH 'https://api.youvico.com/api/files/FX1234567890ABCD/tag' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "tag": "APPROVED" }'

リクエスト

パス

idstringrequired
ファイルID

ボディ

tagstringrequired
新しいレビュータグ

Possible values: IN_PROGRESSNEED_REVIEWNEED_EDITON_HOLDAPPROVEDREJECTEDCLOSED

レスポンス

204 No Content を返します。