From 23b60d79d568138b7bd76b525fb693fd212fbebd Mon Sep 17 00:00:00 2001 From: Marko Lisica <83164494+marko-lisica@users.noreply.github.com> Date: Wed, 26 Nov 2025 19:23:52 +0100 Subject: [PATCH] [Docs bug] `team_id` is not required (#36269) Clarified the description of the 'team_id' parameter in the API documentation. If not set default is no team --- docs/REST API/rest-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index 586266207f..48b4e0a6bf 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -10184,7 +10184,7 @@ Add a package (.pkg, .msi, .exe, .deb, .rpm, .tar.gz, .ipa) to install on Apple | Name | Type | In | Description | | ---- | ------- | ---- | -------------------------------------------- | | software | file | form | **Required**. Installer package file. Supported packages are .pkg, .msi, .exe, .deb, .rpm, .tar.gz, and .ipa | -| team_id | integer | form | **Required**. The team ID. Adds a software package to the specified team. | +| team_id | integer | form | The team ID. Adds a software package to the specified team. If not specified, it will add the software for hosts with no team. | | install_script | string | form | Script that Fleet runs to install software. If not specified Fleet runs the [default install script](https://github.com/fleetdm/fleet/tree/main/pkg/file/scripts) for each package type if one exists. Required for `.tar.gz` and `.exe` (no default script). | | uninstall_script | string | form | Script that Fleet runs to uninstall software. If not specified Fleet runs the [default uninstall script](https://github.com/fleetdm/fleet/tree/main/pkg/file/scripts) for each package type if one exists. Required for `.tar.gz` and `.exe` (no default script). | | pre_install_query | string | form | Query that is pre-install condition. If the query doesn't return any result, Fleet won't proceed to install. |