Close pact
close_pactDestructiveIdempotent
Closes a pact; requests still waiting on it are declined. Running deals keep their terms. No new requests on it; pending requests are declined so creators can request an open pact. Accepted and running deals keep their terms. Closing a closed pact changes nothing.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Studio API key. Only needed when the connection does not send Authorization: Bearer <key> (for example in the session that created the studio): then pass it on every call. | |
| pact_id | Yes | Pact id (pc_…) |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pact | Yes | ||
| passed | Yes | Waiting requests declined |