---
title: "Restart an app"
method: POST
path: "/api/projects/{projectName}/apps/{appName}/restart"
tags: ["apps"]
---

# Restart an app

`POST /api/projects/{projectName}/apps/{appName}/restart`

## Request

- Base URL: `https://api.hostim.dev`
- URL: `https://api.hostim.dev/api/projects/{projectName}/apps/{appName}/restart`
- Auth: HTTP bearer

Restart an app

## Path parameters

- `projectName` string, required
- `appName` string, required

## Response `200`

App restarted

- GenericMessage
  - `error` string, required
  - `message` string, required

## Other responses

- `401`: User is not authorized
- `404`: App not found
- `500`: Internal server error

---

[API](https://skmtc.dev/hostim/apis/hostim-api.md) · [All operations](https://skmtc.dev/hostim/apis/hostim-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostim/apis/hostim-api/revisions/37c35e1026a9?raw)
