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

# Delete Property

> Soft-deletes a property. The landlord must have the `OWNER`, `GOLD`, or
`SILVER` role.




## OpenAPI

````yaml /property-management-api-reference/openapi.yaml delete /properties/{property_id}
openapi: 3.1.0
info:
  title: SKOR Property Management API
  version: 1.0.0
  description: |
    The Property Management API is a standalone landlord API for managing
    accessible workspaces and their properties.

    The Modular API and Property Management API use the same API-key model and
    shared token endpoint.

    All responses use the SKOR v1 response envelope. Successful responses
    contain `status`, `message`, and `data`. Validation errors can also contain
    an `errors` array with field-specific messages.
servers:
  - url: https://api.skortorent.com/api/v1/property-management
    description: Live
  - url: https://dev-api.skortorent.com/api/v1/property-management
    description: Sandbox
security:
  - PropertyManagementBearer: []
tags:
  - name: Workspace
    description: Create and list workspaces for the authenticated landlord.
  - name: Property
    description: Create, list, retrieve, update, and delete properties.
paths:
  /properties/{property_id}:
    delete:
      tags:
        - Property
      summary: Delete Property
      description: |
        Soft-deletes a property. The landlord must have the `OWNER`, `GOLD`, or
        `SILVER` role.
      operationId: deleteProperty
      parameters:
        - $ref: '#/components/parameters/PropertyId'
        - $ref: '#/components/parameters/WorkspaceIdQuery'
      responses:
        '200':
          description: Property deleted successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteSuccessResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  parameters:
    PropertyId:
      name: property_id
      in: path
      required: true
      description: Unique property identifier.
      schema:
        type: string
      example: 6655c944c2e40f249b664e74
    WorkspaceIdQuery:
      name: workspace_id
      in: query
      required: true
      description: Public workspace UUID. This is not the workspace MongoDB `_id`.
      schema:
        type: string
      example: Ab12Cd
  schemas:
    DeleteSuccessResponse:
      type: object
      required:
        - status
        - message
        - data
      properties:
        status:
          type: string
          const: success
        message:
          type: string
          example: Property deleted successfully
        data:
          type: object
          additionalProperties: true
    ErrorResponse:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: string
          const: error
        message:
          type: string
          example: Request validation failed
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssue'
    ValidationIssue:
      type: object
      required:
        - field
        - message
      properties:
        field:
          type: string
          description: Request field that failed validation.
          example: properties.0.street
        message:
          type: string
          description: Human-readable validation message.
          example: properties.0.street is required
  responses:
    BadRequest:
      description: The request is invalid or failed validation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            status: error
            message: Request validation failed
            errors:
              - field: properties.0.street
                message: properties.0.street is required
    Unauthorized:
      description: >-
        Authentication is missing, invalid, expired, or uses the wrong token
        type.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: >-
        The landlord cannot access the workspace or lacks permission for the
        operation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: The workspace or property was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ServerError:
      description: An unexpected server error occurred.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    PropertyManagementBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        Generate a shared token via `/authenticate/token`, then pass it as
        `Authorization: Bearer <token>`.

````