/ Docs
APIPacks

Uninstall Packs

Uninstall packs: every one, or none. Returns what was done (200, not 204). The pack's skills, tools and secret links go; its soul, settings and avatar are put back. Anything the bot had before the install, or that someone changed since, is kept and reported. Org MCP servers and vault entries are never touched. Errors point into `uninstalls[i]`, in query order.

DELETE
/v1/orgs/{org_id}/packs/installs

Authorization

BearerAuth
AuthorizationBearer <token>

Botyard API key — see /docs/authentication.

In: header

Path Parameters

org_id*Org Id

Query Parameters

bot_pack_install_ids*array<>

Installs to remove, each at most once.

Response Body

application/json

curl -X DELETE "https://example.com/v1/orgs/string/packs/installs?bot_pack_install_ids=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "uninstalls": [
    {
      "bot_pack_install_id": "string",
      "bot_id": "string",
      "pack_id": "string",
      "pack_version_id": "string",
      "items": [
        {
          "bot_pack_item_id": "string",
          "reason": "string",
          "kind": "skill",
          "action": "remove",
          "skill_id": "string"
        }
      ],
      "already_removed": [
        {
          "bot_pack_item_id": "string",
          "kind": "skill"
        }
      ]
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "error_code": "string",
  "errors": [
    {
      "pointer": "string",
      "detail": "string",
      "type": "string"
    }
  ],
  "trace_id": "string"
}