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

# Update a Wi-Fi network

> Partially update a Wi-Fi network in the authorized organization. Aggregation not available for Wi-Fi networks.



## OpenAPI

````yaml /en/api-reference/openapi.en-v2.json patch /v2/organizations/{organization_id}/wifi-networks/{wifi_network_id}
openapi: 3.0.3
info:
  title: API Publica Portal
  version: 1.0.0
  description: Public REST API for portal
servers:
  - url: https://api.flexxible.net/
    description: Portal API
security:
  - bearerAuth: []
tags:
  - name: Solve
    description: Flexxible Solve ticket visibility and management
  - name: Digital activity
    description: Core process group creation by organization
  - name: Locations
    description: Location management (FWS)
  - name: Roles
    description: Role creation endpoint for organization
  - name: Users
    description: User creation endpoint for organization
  - name: Workspace groups
    description: Management endpoints for workspace groups
  - name: Networks
    description: Network management (FWS)
  - name: WiFi Networks
    description: Wi-Fi network management (FWS)
  - name: Workspaces
    description: Workspace deletion endpoint for the organization
  - name: Event logs
    description: Workspace event logs query
  - name: Installed apps
    description: Installed application detail endpoint for the organization
  - name: Authentication
    description: Session context and authentication endpoints
  - name: Microservices
    description: Details of microservices by organization
  - name: Operations
    description: Detail queries for operations by organization
  - name: Organization
    description: Organization operations
  - name: Patch policy targets
    description: Patch policy objective management endpoints
  - name: Product configurations
    description: Product configuration management endpoints
  - name: Reporting Groups
    description: Operations on reporting groups
  - name: Sessions
    description: Session detail endpoint for the organization
  - name: Tenants
    description: Tenant management endpoints
  - name: Workspace Connection Logs
    description: Workspace connection logs query
  - name: Workspace GPO
    description: Query GPOs applied to a session
  - name: Workspace Notifications
    description: Workspace notifications query
paths:
  /v2/organizations/{organization_id}/wifi-networks/{wifi_network_id}:
    patch:
      tags:
        - WiFi Networks
      summary: Update a Wi-Fi network
      description: >-
        Partially update a Wi-Fi network in the authorized organization.
        Aggregation not available for Wi-Fi networks.
      operationId: updateWifiNetwork
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^[0-9a-f]{24}$
            minLength: 24
            maxLength: 24
          description: Organization identifier.
          example: 507f1f77bcf86cd799439011
        - name: wifi_network_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Wi-Fi network identifier.
          example: d4e5f6a7-b8c9-0123-def0-234567890123
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWifiNetworkRequestV2'
            examples:
              partial_is_reliable:
                summary: Partial reliability update
                value:
                  is_reliable: true
              unlink_network:
                summary: Unlink related network
                value:
                  network_id: null
              set_related_network:
                summary: Assign related network
                value:
                  network_id: b2c3d4e5-f6a7-8901-bcde-f12345678901
      responses:
        '200':
          description: Wi-Fi network updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WifiNetworkItemV2'
              examples:
                updated:
                  summary: Resource updated
                  value:
                    id: d4e5f6a7-b8c9-0123-def0-234567890123
                    ssid: Guest-WiFi
                    organization_id: 507f1f77bcf86cd799439011
                    public_ip: 203.0.113.10
                    isp: Example ISP
                    city: Madrid
                    country: ES
                    is_reliable: true
                    source_workspace_id: 64f0c2a1b2d3e4f506070899
                    network_id: b2c3d4e5-f6a7-8901-bcde-f12345678901
        '400':
          description: Invalid request body or Wi-Fi network identifier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalid_body:
                  summary: Invalid request body
                  value:
                    error:
                      message: Cuerpo de solicitud inválido
                      code: bad_request
                      details: Los campos enviados deben cumplir el formato esperado.
                invalid_wifi_network_id:
                  summary: Invalid Wi-Fi network identifier
                  value:
                    error:
                      message: Identificador de red Wi‑Fi inválido
                      code: bad_request
                      details: wifi_network_id debe ser un UUID válido.
        '401':
          description: Not authorized or without access to the organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: >-
            Wi-Fi network not found in authorized organization scope, or invalid
            related network.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    UpdateWifiNetworkRequestV2:
      type: object
      additionalProperties: false
      properties:
        is_reliable:
          type: boolean
          description: Indicates if the Wi‑Fi network is marked as reliable.
        network_id:
          type: string
          format: uuid
          nullable: true
          description: >-
            Identifier of the related network (FWS Network.Oid). Send null to
            unlink.
      description: Partial Wi‑Fi network update body. All fields are optional.
    WifiNetworkItemV2:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Identifier of the Wi‑Fi network (FWS WifiNetwork.Oid).
        ssid:
          type: string
          nullable: true
          description: The SSID of the Wi‑Fi network.
        organization_id:
          type: string
          nullable: true
          pattern: ^[0-9a-f]{24}$
          minLength: 24
          maxLength: 24
          description: Associated Portal organization Id.
        public_ip:
          type: string
          nullable: true
          description: Related public IP address.
        isp:
          type: string
          nullable: true
          description: Internet Service Provider of the related public IP.
        city:
          type: string
          nullable: true
          description: City associated with the public IP.
        country:
          type: string
          nullable: true
          description: Country associated with the public IP.
        is_reliable:
          type: boolean
          nullable: true
          description: Indicates if the Wi‑Fi network is marked as reliable.
        source_workspace_id:
          type: string
          nullable: true
          pattern: ^[0-9a-f]{24}$
          minLength: 24
          maxLength: 24
          description: >-
            Workspace Portal ID associated with the source device. Null if no
            match
        network_id:
          type: string
          format: uuid
          nullable: true
          description: Identifier of the related network (FWS Network.Oid).
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            code:
              type: string
            details:
              type: string
          required:
            - message
            - code
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````