Errors

session_endpoint

403 – Console session required. The endpoint acts on the console session itself, and an API key has none.

Console session required. Answered with 403.

What it means

The endpoint acts on the console session itself, and an API key has none. It is the one place where an Admin Key is not accepted in a session's stead.

What to do

Nothing to do here for an agent. API keys are listed with GET /api/keys and revoked with DELETE /api/keys/{id}.

The body

{
  "type": "https://tigby.eu/problems/session_endpoint",
  "title": "Console session required",
  "status": 403,
  "detail": "…what was refused, naming this request's own values",
  "code": "session_endpoint",
  "doc_url": "https://docs.tigby.eu/errors/session_endpoint",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.