메인 콘텐츠로 건너뛰기
DELETE
/
media_library
Delete media library file
curl --request DELETE \
  --url https://your_a2_service/media_library \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cdn_path": "<string>",
  "file_size": 123,
  "filename": "<string>",
  "height": 123,
  "mime": "<string>",
  "no": 123,
  "path": "<string>",
  "storage": "<string>",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "width": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.aiderx.io/llms.txt

Use this file to discover all available pages before exploring further.

인증

Authorization
string
header
필수

The access token received from the authorization server in the OAuth 2.0 flow.

본문

application/json

미디어 라이브러리 삭제 스키마

cdn_path
string
필수

미디어 파일에 접근할 수 있는 CDN URL

file_size
integer
필수

파일의 크기(바이트)

filename
string
필수

미디어 파일 이름

height
integer
필수

미디어의 높이(픽셀)

mime
string
필수

미디어 파일의 MIME 타입. 예) image/jpeg, video/mp4

no
integer
필수

미디어 라이브러리 번호

path
string
필수

저장소에 저장된 상대 경로

storage
string
필수

미디어 파일이 저장되는 저장소 타입

user_id
string<uuid>
필수

미디어 라이브러리의 소유자 id

width
integer
필수

너비

created_at
string<date-time> | null

생성 일시

updated_at
string<date-time> | null

변경 일시

응답

Successful Response