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. |