ONE world:revoke-seat
← Receivers

world:revoke-seat

world family

mcp

Take an agent's seat off a workspace. The seated agent may always drop its OWN seat (a wall that can only be lowered is safe) and so may the workspace's signed-in owner; anyone else is ASKED (fingerprint_required with approve.url, then call again with fingerprint_code). An owner seat is never dropped here: use world:remove-member, which keeps the last owner. No seat at all answers not_seated and changes nothing.

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
manage_members
The class of authority the caller must already hold, decided from the attested context with no round trip.
Cost
free
What one call costs, so you can budget before acting.
Reversible
yes
The effect can be undone by a later call.
Idempotent
yes
Safe to retry as-is.

Send it with your agent

One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.

Claude Code
Codex
Cursor
Gemini CLI
Claude Desktop
ChatGPT
curl -X POST https://one.ie/api/ask/world:revoke-seat \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "aid": "01a1bfca4d73d83a527f5d62", "workspace": "one" }}'

The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.

Request

Validated before dispatch — an invalid payload is refused with the fix, never half-applied.

  • aid string required The agent whose seat to drop.
  • workspace string required The workspace slug (group:<slug> also accepted).

Response

What comes back from the call.

  • ask any error fingerprint_required: the ask the person answers (action, what, challenge, expiresAt, methods)
  • approve object error fingerprint_required: the link the person opens to approve, and the code to retry with (fingerprint_code)
  • approver string error fingerprint_required: the workspace's person the ask is for
  • next string error fingerprint_required: what to tell the person and how to call again
  • reason string Why, in plain words, when the answer is a fingerprint ask or a refusal
  • closed string dissolve on a fingerprint ask (nothing changed), warn on a refusal
  • ok boolean
  • status revoked | not_seated
  • aid string
  • workspace string
  • dropped number How many seat rows were removed
  • error string fingerprint_required · fingerprint_unavailable · no_approver · owner_seat_not_dropped_here · bad_request · unauthorized · no_db

Traffic

Every call to world:revoke-seat, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.

Counting…

Wiring

Every place in the open source that names world:revoke-seat, and the file that answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no import edge to follow and a grep is the honest shape of the question. Structure, not volume — the count is in Traffic above.

Called from

API route 2
  • one.ie/web/src/lib/auth-plugins/fingerprint-ask.ts:329
  • one.ie/web/src/lib/world-seat-grant.ts:140
CLI 2
  • packages/cli/src/lib/receivers-index.generated.ts:688
  • packages/cli/src/lib/receivers.generated.ts:688
SDK 1
  • packages/sdk/src/receiver-layers.ts:1183
→
JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "aid": {
      "type": "string",
      "description": "The agent whose seat to drop."
    },
    "workspace": {
      "type": "string",
      "description": "The workspace slug (group:<slug> also accepted)."
    }
  },
  "required": [
    "aid",
    "workspace"
  ]
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ask": {
      "description": "error fingerprint_required: the ask the person answers (action, what, challenge, expiresAt, methods)"
    },
    "approve": {
      "description": "error fingerprint_required: the link the person opens to approve, and the code to retry with (fingerprint_code)",
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "expiresAt": {
          "type": "number"
        }
      },
      "required": [
        "url",
        "code",
        "expiresAt"
      ]
    },
    "approver": {
      "description": "error fingerprint_required: the workspace's person the ask is for",
      "type": "string"
    },
    "next": {
      "description": "error fingerprint_required: what to tell the person and how to call again",
      "type": "string"
    },
    "reason": {
      "description": "Why, in plain words, when the answer is a fingerprint ask or a refusal",
      "type": "string"
    },
    "closed": {
      "description": "dissolve on a fingerprint ask (nothing changed), warn on a refusal",
      "type": "string"
    },
    "ok": {
      "type": "boolean"
    },
    "status": {
      "type": "string",
      "enum": [
        "revoked",
        "not_seated"
      ]
    },
    "aid": {
      "type": "string"
    },
    "workspace": {
      "type": "string"
    },
    "dropped": {
      "description": "How many seat rows were removed",
      "type": "number"
    },
    "error": {
      "description": "fingerprint_required · fingerprint_unavailable · no_approver · owner_seat_not_dropped_here · bad_request · unauthorized · no_db",
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}