---
title: "Queue a restart command, sent with the collector's next message"
method: POST
path: "/api/{org_id}/fleet/collectors/{id}/restart"
tags: ["Fleet"]
---

# Queue a restart command, sent with the collector's next message

`POST /api/{org_id}/fleet/collectors/{id}/restart`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/fleet/collectors/{id}/restart`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/fleet/collectors/:id/restart/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `id` string, required

## Response `202`

Queued

- RestartQueued
  - `queued` boolean, required: False when the collector does not accept restart commands.

## Other responses

- `403`: Forbidden
- `404`: Not found
- `409`: The collector is offline or does not accept restart commands

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
