[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
This commit is contained in:
@@ -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. |
|
||||
|
||||
Reference in New Issue
Block a user