---
title: "Generate Encryption Key"
method: PUT
path: "/v1/actors/GenarateEncKey"
tags: ["Actors"]
---

# Generate Encryption Key

`PUT /v1/actors/GenarateEncKey`

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

## Query parameters

- `actorID` integer

## Response `200`

Encryption key generated successfully.

- DispatchActorEncKeysDbEntity — Represents the encryption key information associated with an actor, including the encryption version and key details.
  - `actor_id` integer, nullable — The unique identifier of the actor associated with this encryption key.
  - `enc_ver` integer, nullable — The version of the encryption key.
  - `enc_key` string, nullable — The encryption key used for securing data.
  - `created_dt` string, date-time, nullable — The date and time when the encryption key was created.

---

[API](https://skmtc.net/nayax/apis/nayax-cortina-api.md) · [All operations](https://skmtc.net/nayax/apis/nayax-cortina-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nayax/nayax-cortina-api/versions/421f6f83c257/schema)
