Generate new key pair

Description

Generates a new key pair (public and private key).

URL

Copy code
Generate a new key pair
/Admin/rest/v1/configuration/generateKeyPair

Remarks

This API should be authorized for the Application, Tenant, and Site Admin permission levels.

HTTP method

POST: Generates a new key pair (public and private key).

Request

Headers:

  • Content-Type: application/xml, application/json

  • Accept: application/xml, application/json

Cookies:

VersionCookie
2023, 24.1, and later

ADM_LWSSO={ADM_LWSSO_COOKIE_VALUE};

Request example:

Copy code
POST http://<LRE_Server>/Admin/rest/v1/configuration/generateKeyPair
Content-Type: application/xml
Accept: application/xml
Cookie: ADM_LWSSO={AdmLwssoCookie};

Response

Headers:

Content-Type: application/xml, application/json

Cookies:

None

HTML return code:

One of the HTTP return codes

Upon successful public key retrieval or creation, returns HTTP status 200 (OK).

HTML body:

POST: Returns the new public key.

See also: