POST

Authorizations

x-api-key
string
header
required

Path Parameters

machine_id
string
required

Body

application/json
name
string

Token name; daemon when omitted.

Required string length: 1 - 64

Response

Success.

type
string
required

Always executor_token.

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

Machine ID (mch_...).

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

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>
required
revoked_at
string<date-time> | null
required
token
string
required

The credential, shown only in this response.

Minimum string length: 1