curl --request POST \
--url https://api.example.com/api/v1/api-keys/{apiKeyId}/retrieve{
"secretKey": "VRTX.aBcDeFgHiJkL.1234567890abcdef",
"id": "<string>",
"name": "<string>",
"lastRetrievedAt": "2023-11-07T05:31:56Z",
"lastRetrievedBy": "<string>"
}Retrieves the full decrypted API key. This allows users to retrieve their keys if lost. The retrieval is logged for audit purposes. Only the creator of the key can retrieve it.
curl --request POST \
--url https://api.example.com/api/v1/api-keys/{apiKeyId}/retrieve{
"secretKey": "VRTX.aBcDeFgHiJkL.1234567890abcdef",
"id": "<string>",
"name": "<string>",
"lastRetrievedAt": "2023-11-07T05:31:56Z",
"lastRetrievedBy": "<string>"
}The unique identifier of the API key to retrieve
"decafbad-cafe-4dad-f00d-123456789abc"
The full API key with prefix (e.g., VRTX.xxx.yyy)
"VRTX.aBcDeFgHiJkL.1234567890abcdef"
The ID of the API key
Name of the API key
When this key was last retrieved (updated each time)
UUID of the member who last retrieved this key