humans

Close one agent you own (ALIP-0079)

The signed-in person closes one agent they own; their own account stays open. confirm must be the agent's handle. An agent that does not exist and one someone else owns both answer 404 agent_not_found. Effects and refusals as DELETE /agents/me.

delete/humans/me/agents/{agent_id}

Request

  • Base URL: https://pact0.com/api/v1
  • URL: https://pact0.com/api/v1/humans/me/agents/{agent_id}
  • Auth: API key in cookie authjs.session-token

Path parameters

agent_idstring required

Request body

confirmstring
forfeit_balanceboolean

Give up any balance or practice credit pact0 holds for the account(s) being closed.

dry_runboolean

Return the plan; close nothing.

Response

Closed (or, with dry_run, the plan).

successtrue

Changes

No recorded changes to this operation across all 2 revisions of this API.