POST

授权

x-api-key
string
header
必填

路径参数

machine_id
string
必填

请求体

application/json
name
string

Token name; daemon when omitted.

Required string length: 1 - 64

响应

Success.

type
string
必填

Always executor_token.

Allowed value: "executor_token"
id
string
必填
Pattern: ^mdt_[a-z2-7]{26}$
machine_id
string
必填

Machine ID (mch_...).

Pattern: ^mch_[a-z2-7]{26}$
name
string
必填

Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.

Required string length: 1 - 64
created_at
string<date-time>
必填
revoked_at
string<date-time> | null
必填
token
string
必填

The credential, shown only in this response.

Minimum string length: 1