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

# Update Card Groups

> Updates the group details associated with a card, identified by the card's unique identifier.



## OpenAPI

````yaml /openapi/lynx.yaml put /v1/cards/{CardId}/cardGroups
openapi: 3.0.1
info:
  title: Nayax Operational Lynx API
  version: v1
servers:
  - url: https://qa-lynx.nayax.com/operational
security:
  - Authorization: []
paths:
  /v1/cards/{CardId}/cardGroups:
    put:
      tags:
        - Cards
      summary: Update Card Groups
      description: >-
        Updates the group details associated with a card, identified by the
        card's unique identifier.
      operationId: update-card-groups
      parameters:
        - name: CardId
          in: path
          required: true
          description: The unique identifier of the card whose groups are to be updated.
          schema:
            type: integer
            format: int64
      requestBody:
        required: true
        description: The card group details to be updated.
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CardGroup'
      responses:
        '200':
          description: Card groups updated successfully.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CardGroup'
components:
  schemas:
    CardGroup:
      type: object
      description: >-
        Represents the group details associated with a card, including daily
        limits and update information.
      properties:
        CardGroupEnabledBit:
          type: boolean
          nullable: true
          description: Indicates whether the card group is enabled.
        GroupName:
          type: string
          nullable: true
          description: The name of the card group.
        CardGroupId:
          type: integer
          format: int64
          nullable: true
          description: The unique identifier of the card group.
        GroupDailyLimit:
          type: integer
          format: int32
          nullable: true
          description: The daily limit for the card group.
        UpdatedBy:
          type: integer
          format: int64
          nullable: true
          description: The identifier of the user who last updated the group.
        LastUpdated:
          type: string
          format: date-time
          nullable: true
          description: The date and time when the group was last updated.
      additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Enter your Bearer token. It's required to authenticate API requests.

````