Create API key
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
POST
/users/auth/keys
Authentication
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/users/auth/keys' \
--header 'Authorization: ApiKey {{EC_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "string",
"authentication_token": "string"
}'
响应示例响应示例
201 - 示例 1
{
"creation_date": "2019-08-24T14:15:22Z",
"user_id": "string",
"id": "string",
"key": "string",
"description": "string"
}
请求参数
Header 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}
Body 参数application/json