메인 콘텐츠로 건너뛰기
POST
Issue a sub-account key

인증

Authorization
string
header
필수

Your API key, sent as Authorization: Bearer <key>.

경로 매개변수

id
string<uuid>
필수

The sub-account id.

본문

application/json
name
string
기본값:default
Required string length: 1 - 64
allowedTaskTypes
string[]

Self-serve engines the key may submit. Empty or absent means all of them.

dailyCreditLimit
number | null
필수 범위: 0.01 <= x <= 20000000다음의 배수여야 합니다 0.01
expiresAt
string<date-time> | null

Between 5 minutes and 2 years from now.

응답

The new key, with the raw key in key.

success
boolean
필수
data
object
필수