# [BETA] Re-encrypt **POST /kms-key/{id}/re-encrypt** Decrypts an existing ciphertext using its original key material and re-encrypts the underlying plaintext using a specified KMS key or the latest key material of the same KMS Key. ## Servers - https://api-ch-gva-2.exoscale.com/v2: https://api-ch-gva-2.exoscale.com/v2 () ## Parameters ### Path parameters - **id** (string(uuid)) ### Body: application/json (object) - **source** (object) - **destination** (object) ## Responses ### 200 200 #### Body: application/json (object) - **ciphertext** (string(byte)) ### 400 400 #### Body: application/json (object) - **type** (string(uri-reference)) - **title** (string) - **status** (integer) - **detail** (string) - **instance** (string(uri-reference)) - **errors** (array[object]) [Powered by Bump.sh](https://bump.sh)