Skip to main content
POST
Mint a delegated token for an app or an agent run (AS2)

Body

application/json
id
string
required
Maximum string length: 64
kind
enum<string>
required
Available options:
app,
agent
scopes
string[]
required

: grants (x-eddy-effect); admin and * effects are refused

Minimum array length: 1
rev
string

The app revision or the agent run (default draft)

Maximum string length: 64
ttl_s
integer
Required range: 60 <= x <= 86400

Response

The token (once) and its record

record
object
token
string