Re-pin broken entries onto your own access
Repairs every entry of this toolbox that pins connection_id and whose delegation has lapsed (the delegation_ok: false state) by stamping delegated_by_user_id to you. It works on the connection, not on one entry, because a lapsed grant breaks every entry that pins that account at once.
It is never automatic and there is no "on behalf of" parameter: re-pinning makes you the authorizer of record for everyone the toolbox is shared with at use, so the call itself is your consent. Requires edit (or ownership) on the toolbox and use on the connection, the same requirement every other pin passes. A healthy entry is left alone, so this can never quietly take a working delegation over from a colleague; repinned_count: 0 with a 200 means there was nothing to repair.
Answers the same body PATCH /toolbox/{id} does (resolved entries, capabilities, delegation summary) plus repinned_count, so a client can merge it straight over its own row. Rejects an automatic id with 400.
Request
- Base URL: https://api.elaichi.ai
- URL: https://api.elaichi.ai/toolbox/{id}/repin
- Auth: HTTP bearer
Path parameters
Stored toolbox id (tbx_…).
Headers
Target organization (org_…). Required for cookie/session auth on org-scoped routes; optional for API tokens, which carry their organization, and rejected when it names a different one.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.