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

# Actualizar un GPS existente

> Actualiza un GPS por UUID manteniendo la ruta legacy update/:gps_details_id para compatibilidad con clientes existentes.



## OpenAPI

````yaml /generated/specs/operations.json put /api/v1/gps/update/{gps_details_id}
openapi: 3.0.0
info:
  title: Raul API - Operaciones
  description: Suscripciones, GPS, actividades, visitas y operacion tecnica.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/gps/update/{gps_details_id}:
    put:
      tags:
        - GPS Details
      summary: Actualizar un GPS existente
      description: >-
        Actualiza un GPS por UUID manteniendo la ruta legacy
        update/:gps_details_id para compatibilidad con clientes existentes.
      operationId: GpsDetailsController_updateGps[1]
      parameters:
        - name: gps_details_id
          required: true
          in: path
          description: ID del GPS (UUID)
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateGpsDetailsDto'
      responses:
        '200':
          description: GPS actualizado exitosamente
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GpsMessageResponseDto'
        '404':
          description: GPS no encontrado
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateGpsDetailsDto:
      type: object
      properties:
        gps_name:
          type: object
          description: Nombre del GPS
          nullable: true
        imei:
          type: object
          description: IMEI del GPS
          nullable: true
        sim_deta_id:
          type: object
          description: ID del SIM
          nullable: true
        gps_model_id:
          type: object
          description: ID del modelo de GPS
          nullable: true
        gps_inventory_id:
          type: object
          description: ID del inventario/ubicación
          nullable: true
        assigned_id:
          type: object
          description: ID del asignado (cliente, técnico o bodega)
          nullable: true
        gps_status_id:
          type: object
          description: ID del estado del GPS
          nullable: true
    GpsMessageResponseDto:
      type: object
      properties:
        message:
          type: string
          description: Mensaje de respuesta
      required:
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication

````