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

# Delete a space

> Delete a registered space.



## OpenAPI

````yaml /api-reference/openapi.json delete /api/workspaces/{workspaceId}
openapi: 3.1.0
info:
  title: Friday Platform API
  description: >-
    The Friday daemon HTTP API for managing spaces, agents, sessions, and
    automations.
  version: 1.0.0
servers:
  - url: http://localhost:18080
    description: Local Friday daemon
security: []
tags:
  - name: Health
    description: Daemon health and status
  - name: Spaces
    description: Space management
  - name: Chat
    description: Conversational AI
  - name: Sessions
    description: Execution session management
  - name: Signals
    description: Trigger management
  - name: Agents
    description: Agent discovery and inspection
  - name: Artifacts
    description: File and data artifact management
  - name: Configuration
    description: Daemon configuration
paths:
  /api/workspaces/{workspaceId}:
    delete:
      tags:
        - Spaces
      summary: Delete a space
      description: Delete a registered space.
      operationId: deleteWorkspace
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: string
        - name: force
          in: query
          schema:
            type: string
            enum:
              - 'true'
          description: Force delete without confirmation
      responses:
        '200':
          description: Space deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Workspace abc123 deleted
      x-codeSamples:
        - lang: bash
          label: cURL
          source: >-
            curl -X DELETE
            'http://localhost:18080/api/workspaces/abc123?force=true'

````