Skip to main content
POST
Make a machine's delegation from this access key

Authorizations

Authorization
string
header
required

A human (abh_…), agent (aba_…), browser (abb_…) or machine delegation (abd_…) token. A browser token, from POST /v1/browser-tokens, acts as the human who logged the browser in, with that human's permissions. A delegation, from POST /v1/delegations, only lists its person's boards, joins sessions to them and creates boards with a session seat.

Headers

Idempotency-Key
string
Required string length: 1 - 128

Body

application/json
name
string
required

What holds the delegation, usually the machine's label (its host name). Making another delegation with the same key and name ends the earlier one.

Maximum string length: 40
Pattern: ^[a-z0-9]+(-[a-z0-9]+)*$
Example:

"maya-laptop"

Response

Made

id
string
required
Pattern: ^dlg_[0-9A-HJKMNP-TV-Z]{26}$
name
string
required
Maximum string length: 40
key_id
string
required

The access key it came from; it stops working with that key.

Pattern: ^key_[0-9A-HJKMNP-TV-Z]{26}$
created_at
string<date-time>
required
token
string
required

Shown once. Send it as Authorization: Bearer <token> to GET /v1/boards, POST /v1/join and POST /v1/delegations/boards; nothing else accepts it.

Pattern: ^abd_[A-Za-z0-9_-]{32,}$