---
title: "Restart Application"
method: POST
path: "/apps/{appId}/restart"
tags: ["Applications"]
---

# Restart Application

`POST /apps/{appId}/restart`

## Request

- Base URL: `https://api.bunny.net/mc`
- URL: `https://api.bunny.net/mc/apps/{appId}/restart`
- Auth: API key in header `AccessKey`
- TypeScript: <https://skmtc.dev/bunny/apis/magic-containers-api/docs/apps/:appId/restart/post.ts> (a function with typed inputs; its response is checked against the schema)

Triggers a restart of all pods for the specified application.

## Path parameters

- `appId` string, required

## Response `200`

Application restart was successfully triggered.

## Other responses

- `401`: User is unauthorized.
- `403`: User has invalid card or suspended.
- `404`: Application is not found.
- `409`: Application is suspended or has no containers.
- `500`: Unexpected server error.

## Changes

- **2026-11-12** `7bb58a0591b0`: 1 info
  - added the non-success response with the status `409`
- **2026-04-26** `62fb48c758fb`: 4 info
  - added the optional property `id` to the response with the `404` status
  - added the optional property `id` to the response with the `500` status
  - the response property `errors/items/message` became required for the status `404`
  - the response property `errors/items/message` became required for the status `500`

[Operation history](https://skmtc.dev/bunny/apis/magic-containers-api/changes/apps/:appId/restart/post.md)

---

[API](https://skmtc.dev/bunny/apis/magic-containers-api.md) - [All operations](https://skmtc.dev/bunny/apis/magic-containers-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/magic-containers-api/revisions/7bb58a0591b0?raw)
