cURL
curl --request POST \ --url https://api.gputrader.io/v1/users/api-keys \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "name": "<string>", "expiresAt": "2023-11-07T05:31:56Z" }'
{ "id": "<string>", "value": "<string>" }
Generate a new API key for the authenticated user
Name for the API key
Expiration date for the API key (optional)
API key successfully created