POST
/
users
/
api-keys
curl --request POST \
  --url https://restapi.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>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

API key successfully created

The response is of type object.