Skip to main content
Docs menu
All MCP tools

MCP tools · Workspace settings

settings_delete_branch

Delete a branch that nothing uses (otherwise branch_in_use: archive it instead). Admins only. Held for the user to approve in Finn: the answer is an approval link and nothing changes until they approve.

Scope needed
admin:write
Acts as
You, the signed-in member. Needs a workspace Owner or Admin.
Changes data
Yes, and it can't be taken back
Held for approval
Can be. The call returns a pending approval and an approve link, and nothing happens until a person in your organization approves it in Finn.
Available to
Switched on per organization (workspace settings tools)

Inputs

NameTypeDescription
org_idstringOrganization id. Optional when the user belongs to one organization; otherwise the error lists theirs.
branch_idrequiredstringThe branch_id (a UUID).