---
title: "Share a fleet's current member hosts with users or roles"
method: POST
path: "/fleets/{id}/share"
tags: ["Fleets"]
---

# Share a fleet's current member hosts with users or roles

`POST /fleets/{id}/share`

Snapshot at share time - grants hostAccess for every current member host to each target. Hosts added to the fleet later are not automatically shared; re-run this route to extend sharing to new members.

## Path parameters

- `id` integer, required

## Request body

- object
  - `targets` object[]
  - `permissionLevel` string
  - `durationHours` number

## Response `200`

Fleet shared.

## Other responses

- `404` — Fleet not found.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
