Skip to main content
POST
Make a session ephemeral with a TTL

Body

application/json
duration
string
required

TTL duration (e.g. 5h, 30m, 1d)

nameOrKey
string
required

Session name or key

Response

Success — body conforms to the @Returns schema.

{key}
any