> ## Documentation Index
> Fetch the complete documentation index at: https://faces.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Dépublier un projet

> Mettez hors ligne un projet publié. Ses diapositives sont conservées et peuvent être republiées.



## OpenAPI

````yaml DELETE /projects/{slug}/publish
openapi: 3.1.0
info:
  title: Faces API
  version: '1.0'
  description: >-
    Faces API for creating and managing presentations. Generate presentations
    from prompts, or read and write individual slides. Each slide is a React
    component (face.tsx) with content blocks (face.content.json) and editor
    controls (face.controls.json).
servers:
  - url: https://faces.app/api/v1
    description: API v1
security:
  - bearerAuth: []
paths:
  /projects/{slug}/publish:
    delete:
      tags:
        - Publishing
      summary: Unpublish a project
      description: >-
        Take a published project offline. The project and its slides are kept
        and can be re-published later.
      operationId: unpublishProject
      parameters:
        - schema:
            type: string
          required: true
          name: slug
          in: path
      responses:
        '200':
          description: Project unpublished
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  published:
                    type: boolean
                required:
                  - success
                  - published
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        hint:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key with "faces_" prefix. Create one at Settings > Developers.

````