authentication

Create Api Key Endpoint

Create a new API key for the authenticated user (requires JWT token).

post/api/v1/auth/api-keys

Request

  • Base URL: https://calorieapiadmin.com
  • URL: https://calorieapiadmin.com/api/v1/auth/api-keys
  • Auth: none declared

Headers

authorizationstring nullable

Request body

namestring required

Response

Successful Response

idinteger required
namestring required
keystring nullable
is_activeboolean required
created_atstring date-time nullable
last_used_atstring date-time nullable
usage_countinteger
productstring

Changes

No recorded changes to this operation across all 1 revision of this API.