From e213ebde4535495b0fcf76db4f002a471af2cb33 Mon Sep 17 00:00:00 2001 From: Rachael Shaw Date: Thu, 2 May 2024 17:08:22 -0500 Subject: [PATCH] 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 --- docs/REST API/rest-api.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index 317603a353..31da9e31ed 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -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.