Skip to content

파일 수정 Tier 4

PATCH/api/files/:idCopied!

파일을 수정합니다.

예시

ts
await client.files.update("FX1234567890ABCD", {
  name: "launch-final.mp4",
  description: "Final version",
  allowRestricted: false,
});
bash
youvico file update --id FX1234567890ABCD --name="launch-final.mp4" --description="Final version"
bash
curl -X PATCH 'https://api.youvico.com/api/files/FX1234567890ABCD' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "name": "launch-final.mp4", "description": "Final version", "allowRestricted": false }'

요청

경로

idstringrequired
파일 ID

본문

namestring

1–255 characters

파일 이름
descriptionstring?

1–255 characters

파일 설명
allowRestrictedboolean
제한된 리뷰어가 파일에 접근할 수 있는지 여부

응답

204 No Content를 반환합니다.