Get public key

Description

Retrieves a public key.

URL

Copy code
Retrieve the public key
/Admin/rest/v1/configuration/getPublicKey

Remarks

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

HTTP method

GET: Retrieves the public 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 body:

GET: No request body.

Request example:

Copy code
XML example:
GET http://<LRE_Server>/Admin/rest/v1/configuration/getPublicKey
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:

GET: Retrieves the public key.

See also: