cURL
curl --request POST \ --url https://api.lyceum.technology/api/v2/external/auth/api-keys/ \ --header 'Content-Type: application/json' \ --data ' { "key_name": "<string>", "expires_at": "2023-11-07T05:31:56Z" } '
{ "api_key": "<string>", "id": "<string>", "key_name": "<string>", "key_prefix": "<string>", "created_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z" }
Create a new API key for the authenticated user.
Human-readable name for the API key
1 - 255
When the API key expires (optional)
Successful Response
Response when creating a new API key - includes the plaintext key
The full API key (only shown once)