Docs
Sign in

Release something a tool call rented, now.

Asks Monid to release it (safe to repeat).

POST/api/v1/tool-leases/{id}/release

Scopeconfig

Answers the lease: releasing until Monid says it is released, or release_failed with lastError (Koidog asks again). 409 conflict when it is already released. 409 not_configured on a server without Monid turned on: nothing is asked and nothing recorded (release it at Monid). The timeline records the key ID, action and outcome.

Path parameters.

idstringrequired

The tool lease's id.

Headers.

Idempotency-Keystring

Retry the same request with the same key. Retry rules.

Response.

200 OK · JSON object