> ## 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.

# Generate Encryption Key

> Generates a new encryption key for the specified actor, identified by `actorID`.



## OpenAPI

````yaml /openapi/lynx.yaml put /v1/actors/GenarateEncKey
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/GenarateEncKey:
    put:
      tags:
        - Actors
      summary: Generate Encryption Key
      description: >-
        Generates a new encryption key for the specified actor, identified by
        `actorID`.
      operationId: generate-encryption-key
      parameters:
        - name: actorID
          in: query
          description: >-
            The unique identifier of the actor for whom the encryption key is
            being generated.
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Encryption key generated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DispatchActorEncKeysDbEntity'
components:
  schemas:
    DispatchActorEncKeysDbEntity:
      type: object
      description: >-
        Represents the encryption key information associated with an actor,
        including the encryption version and key details.
      properties:
        actor_id:
          type: integer
          format: int64
          nullable: true
          description: >-
            The unique identifier of the actor associated with this encryption
            key.
        enc_ver:
          type: integer
          format: int32
          nullable: true
          description: The version of the encryption key.
        enc_key:
          type: string
          nullable: true
          description: The encryption key used for securing data.
        created_dt:
          type: string
          format: date-time
          nullable: true
          description: The date and time when the encryption key was created.
      additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Enter your Bearer token. It's required to authenticate API requests.

````