Skip to content

수정 Default

PATCH/files/{id}Copied!

파일 정보를 수정해요.

접근 가능한 사용자

사용자

Request

Body

namestring | undefined
파일 이름
descriptionstring? | undefined
파일 설명
allowRestrictedboolean | undefined
제한된 리뷰어 접근 허용 여부

Path

idstringrequired
파일 ID

Response

Returns 200 OK.

없음

Example

bash
curl -X PATCH 'https://api.youvico.com/files/6ba7b810-9dad-11d1-80b4-00c04fd430c8' \
  -H 'Authorization: Bearer xoau.aB3xK9p2QwR7sT4uV1nM8oP5qL6rN0yZ7eF2gH4jK...' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "design-final.png",
    "description": null,
    "allowRestricted": true
  }'