API design: Resend configuration profile (#18717)

Fresh PR to avoid product design PRs messing with the PR open time KPI
(previously https://github.com/fleetdm/fleet/pull/17711)

---------

Co-authored-by: Marko Lisica <83164494+marko-lisica@users.noreply.github.com>
Co-authored-by: George Karr <georgekarrv@users.noreply.github.com>
This commit is contained in:
Rachael Shaw
2024-05-02 17:08:22 -05:00
committed by GitHub
co-authored by Marko Lisica George Karr
parent 0bd2f00495
commit e213ebde45
+22
View File
@@ -3516,6 +3516,28 @@ A `team_id` of `0` returns the statistics for hosts that are not part of any tea
}
```
### Resend host's configuration profile
Resends a configuration profile for the specified host.
`POST /api/v1/fleet/hosts/:id/configuration_profiles/resend/:profile_uuid`
#### Parameters
| Name | Type | In | Description |
| ---- | ---- | -- | ----------- |
| id | integer | path | **Required.** The host's ID. |
| profile_uuid | string | path | **Required.** The UUID of the configuration profile to resend to the host. |
#### Example
`POST /api/v1/fleet/hosts/233/configuration_profiles/resend/fc14a20-84a2-42d8-9257-a425f62bb54d`
##### Default response
`Status: 202`
### List host OS versions
Retrieves the aggregated host OS versions information.