LUCELAATELIER🔔

사진 빼기

전체 주소DELETE https://apis.lucela.kr/v1/direct/listings/{listing_id}/media/{media_id}경로DELETE /v1/direct/listings/{listing_id}/media/{media_id}
openapi.json
{
  "/v1/direct/listings/{listing_id}/media/{media_id}": {
    "delete": {
      "tags": [
        "다이렉트 API"
      ],
      "summary": "사진 빼기",
      "description": "사진 한 장을 뺀다(사본은 남는다 · 가리키던 상세 블록도 뺀다)",
      "operationId": "delete_v1_direct_listings_listing_id_media_media_id",
      "security": [
        {
          "ApiKey": [],
          "DirectDelegation": []
        }
      ],
      "x-implementation-status": "AVAILABLE",
      "x-lucela-billing-unit": "과금 없음",
      "x-lucela-unit-weight": 0,
      "x-lucela-response-fields": "removed · assetId",
      "x-lucela-direct": true,
      "x-lucela-direct-command": "removeListingMedia",
      "responses": {
        "200": {
          "description": "성공 — 다이렉트 몸통 그대로",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "removed": {},
                  "assetId": {}
                }
              }
            }
          }
        },
        "401": {
          "$ref": "#/components/responses/E401"
        },
        "403": {
          "$ref": "#/components/responses/E403"
        },
        "429": {
          "$ref": "#/components/responses/E429"
        },
        "503": {
          "$ref": "#/components/responses/E503"
        }
      },
      "parameters": [
        {
          "name": "listing_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "media_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    }
  }
}