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

# Actualizar grupo

> Actualizar grupo de autenticación de cuenta

<script src="/locale-bridge.js" />


## OpenAPI

````yaml /openapi.es.json PATCH /v1/public/accounts/{account_id}/auth/groups/{group_id}
openapi: 3.1.0
info:
  title: Code API (Public)
  version: 1.0.0
servers:
  - url: https://api.hybridbox.io
security: []
paths:
  /v1/public/accounts/{account_id}/auth/groups/{group_id}:
    patch:
      tags:
        - public-accounts
        - public-account-auth
      summary: Actualizar grupo de autenticación de cuenta
      description: Actualiza un grupo vinculado a la cuenta de la ruta.
      operationId: >-
        update_public_account_auth_group_v1_public_accounts__account_id__auth_groups__group_id__patch
      parameters:
        - in: path
          name: group_id
          required: true
          schema:
            title: Group Id
            type: string
        - in: path
          name: account_id
          required: true
          schema:
            format: uuid
            title: Account Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupUpdateRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupResponse'
          description: ''
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Error de validación
      security:
        - PublicBearerAuth: []
components:
  schemas:
    GroupUpdateRequest:
      description: Solicite un esquema para actualizar un grupo de autenticación existente.
      properties:
        attributes:
          anyOf:
            - additionalProperties:
                anyOf:
                  - items:
                      type: string
                    type: array
                  - type: string
              type: object
            - type: 'null'
          title: atributos
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: descripción
        name:
          anyOf:
            - maxLength: 255
              minLength: 1
              type: string
            - type: 'null'
          title: nombre
      title: GroupUpdateRequest
      type: object
    GroupResponse:
      properties:
        account_id:
          format: uuid
          title: cuenta ID
          type: string
        attributes:
          additionalProperties:
            items:
              type: string
            type: array
          title: atributos
          type: object
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: descripción
        id:
          title: ID
          type: string
        keycloak_account_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Keycloak cuenta ID
        keycloak_name:
          title: Keycloak nombre
          type: string
        linked_scopes:
          items:
            $ref: '#/components/schemas/GroupScopeLinkResponse'
          title: vinculados ámbitos
          type: array
        name:
          title: nombre
          type: string
        parent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: principal ID
        path:
          anyOf:
            - type: string
            - type: 'null'
          title: ruta
        permission_context:
          $ref: '#/components/schemas/PermissionInspectabilitySnapshot'
        subgroup_ids:
          items:
            type: string
          title: subgrupo IDs
          type: array
      required:
        - id
        - account_id
        - name
        - keycloak_name
      title: GroupResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detalle
          type: array
      title: HTTPValidationError
      type: object
    GroupScopeLinkResponse:
      description: Esquema para un alcance de recurso vinculado a un grupo.
      properties:
        resource_id:
          format: uuid
          title: recurso ID
          type: string
        resource_type:
          title: recurso tipo
          type: string
      required:
        - resource_type
        - resource_id
      title: GroupScopeLinkResponse
      type: object
    PermissionInspectabilitySnapshot:
      description: >-
        Instantánea de inspeccionabilidad compartida para la gestión de
        usuarios, grupos e invitaciones.
      properties:
        assigned_bundle_keys:
          items:
            type: string
          title: Claves de paquete asignadas
          type: array
        direct_capability_keys:
          items:
            type: string
          title: Direct capacidad Keys
          type: array
        owner_assignments:
          items:
            $ref: '#/components/schemas/OwnerAssignmentSnapshot'
          title: propietario asignaciones
          type: array
        resolved_capability_keys:
          items:
            type: string
          title: resuelto capacidad Keys
          type: array
        status:
          default: active
          title: Estado
          type: string
        subject_id:
          default: ''
          title: sujeto ID
          type: string
        subject_type:
          default: unknown
          title: sujeto tipo
          type: string
      title: PermissionInspectabilitySnapshot
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Ubicación
          type: array
        msg:
          title: Mensaje
          type: string
        type:
          title: Tipo de error
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    OwnerAssignmentSnapshot:
      description: Esquema que indica una relación de propietario de cuenta.
      properties:
        account_id:
          format: uuid
          title: cuenta ID
          type: string
      required:
        - account_id
      title: OwnerAssignmentSnapshot
      type: object
  securitySchemes:
    PublicBearerAuth:
      bearerFormat: JWT or Hybridbox Service account token
      description: >-
        Public API bearer credential sent as `Authorization: Bearer <token>`.
        Use either an OAuth access token or a Hybridbox Service account token.
      scheme: bearer
      type: http

````