> ## 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.

# Update Workspace Settings

> Sets the `document_category` value of a workspace. `document_category`
must be exactly one of `Libre`, `Vpp` or `Vive` (case-sensitive). A
new value replaces the previous one.

`workspace_id` is the public workspace UUID returned by List
Accessible Workspaces.




## OpenAPI

````yaml /property-management-api-reference/openapi.yaml put /workspaces/settings
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:
  /workspaces/settings:
    put:
      tags:
        - Workspace
      summary: Update Workspace Settings
      description: |
        Sets the `document_category` value of a workspace. `document_category`
        must be exactly one of `Libre`, `Vpp` or `Vive` (case-sensitive). A
        new value replaces the previous one.

        `workspace_id` is the public workspace UUID returned by List
        Accessible Workspaces.
      operationId: updateWorkspaceSettings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - workspace_id
                - document_category
              properties:
                workspace_id:
                  type: string
                  description: Public workspace UUID.
                  example: Ab12Cd
                document_category:
                  type: string
                  enum:
                    - Libre
                    - Vpp
                    - Vive
                  example: Vpp
      responses:
        '200':
          description: Workspace settings updated successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  message:
                    type: string
                    example: Workspace settings updated successfully
                  data:
                    type: object
                    properties:
                      workspace:
                        type: object
                        properties:
                          workspace_id:
                            type: string
                            example: Ab12Cd
                          workspace_name:
                            type: string
                            example: Workspace Name
                          document_category:
                            type: string
                            enum:
                              - Libre
                              - Vpp
                              - Vive
                            example: Vpp
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  responses:
    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'
    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
    ServerError:
      description: An unexpected server error occurred.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    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
  securitySchemes:
    PropertyManagementBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        Generate a shared token via `/authenticate/token`, then pass it as
        `Authorization: Bearer <token>`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.