post /v1/account/keys
Create API key(明文仅本次返回)
Free (not billed).
Auth: Authorization: Bearer ac-… · billed per call (see Credits) — envelope {success,data,credit_cost} or {success:false,error}.
Request body
| Field | Type | Description |
|---|---|---|
name * |
string (len≥1 len≤100) |
Full request schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"name"
]
}Responses
| Status | Description | Body |
|---|---|---|
200 | OK | application/json — object |
default | Error | application/json — ErrorResponse |