Create new Api Key for current user (DEPRECATED)
POST/v1/user/:userId/api-keys
Create new Api Key for current user (DEPRECATED)
Request
Path Parameters
userId int64required
userId
- application/json
Body
required
apiKeyRQ
name stringrequired
Responses
- 201
Created
- */*
- Schema
- Example (from schema)
Schema
api_key string
created_at string
id int64required
last_used_at string
name stringrequired
user_id int64required
{
"api_key": "string",
"created_at": "yyyy-MM-dd'T'HH:mm:ssZ",
"id": 0,
"last_used_at": "yyyy-MM-dd",
"name": "string",
"user_id": 0
}
Loading...