Penpot Unlink File From Library API

The Unlink File From Library API from Penpot — 1 operation(s) for unlink file from library.

OpenAPI Specification

penpot-unlink-file-from-library-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  version: '2.16'
  title: Penpot RPC Add Team To Organization Unlink File From Library API
  description: Penpot RPC-style REST API for projects, files, pages, components, and design assets.
  x-api-id: penpot-rpc
  contact:
    url: https://community.penpot.app/
    name: Penpot Support
  x-humanURL: https://penpot.app/integrations-api
servers:
- url: https://design.penpot.app/api/main/methods
  description: MAIN API
tags:
- name: Unlink File From Library
paths:
  unlink-file-from-library:
    post:
      description: null
      deprecated: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              title: unlink-file-to-library
              type: object
              properties:
                fileId:
                  $ref: '#/components/schemas/Uuid'
                libraryId:
                  $ref: '#/components/schemas/Uuid'
              required:
              - fileId
              - libraryId
            example: '{"fileId":"5ab5eb30-5b3a-81d5-8008-2a395e0e89e2","libraryId":"5ab5eb30-5b3a-81d5-8008-2a395e0e89e3"}'
      tags:
      - Unlink File From Library
components:
  schemas:
    Uuid:
      title: uuid
      description: UUID formatted string
      type: string
      format: uuid