> ## Documentation Index
> Fetch the complete documentation index at: https://nayax-44d6e37b-docs-marshall-faq-redistribution.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Actor Group

> Adds a new actor group for a specific actor, identified by `ActorID`.



## OpenAPI

````yaml /openapi/lynx.yaml post /v1/actors/{ActorID}/roleGroups
openapi: 3.0.1
info:
  title: Nayax Operational Lynx API
  version: v1
servers:
  - url: https://qa-lynx.nayax.com/operational
security:
  - Authorization: []
paths:
  /v1/actors/{ActorID}/roleGroups:
    post:
      tags:
        - Actors
      summary: Add Actor Group
      description: Adds a new actor group for a specific actor, identified by `ActorID`.
      operationId: add-actor-group
      parameters:
        - name: ActorID
          in: path
          required: true
          description: >-
            The unique identifier of the actor for whom the role group is being
            added.
          schema:
            type: integer
            format: int64
      requestBody:
        required: true
        description: The details of the actor group to be added.
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ActorGroupRequestDTO'
      responses:
        '200':
          description: The actor group was added successfully.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ActorGroupResponseDTO'
components:
  schemas:
    ActorGroupRequestDTO:
      type: object
      description: >-
        Represents the data required to add or delete an actor group associated
        with an actor.
      properties:
        RoleGroupId:
          type: integer
          format: int32
          nullable: true
          description: >-
            The unique identifier of the role group. This is typically provided
            when adding or deleting a role group associated with an actor.
      additionalProperties: false
    ActorGroupResponseDTO:
      type: object
      description: >-
        Represents the response details of an actor group associated with an
        actor.
      properties:
        RoleGroupId:
          type: integer
          format: int32
          nullable: true
          description: The unique identifier of the role group.
        RoleGroupName:
          type: string
          nullable: true
          description: The name of the role group.
        UpdatedDT:
          type: string
          format: date-time
          nullable: true
          description: The date and time when the role group was last updated.
      additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Enter your Bearer token. It's required to authenticate API requests.

````