> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sondercloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Reiniciar App

> Reinicia o container com a configuração e as variáveis de ambiente salvas

Reinicia o container da aplicação usando os valores de ambiente atualmente salvos. Use esta rota depois de adicionar, alterar ou remover variáveis para aplicá-las.

```bash cURL theme={null}
curl -X POST 'https://api.sondercloud.app/v1/apps/{id}/restart' \
  -H 'Authorization: Bearer seu_token'
```

```json Success theme={null}
{
  "success": true,
  "appId": "UUID_DA_APLICACAO",
  "message": "Application restarted successfully."
}
```

> [!NOTE]
>
> A rota não recebe corpo e `{id}` deve ser um UUID v4. Se a aplicação estiver em `BUILDING`, o restart é rejeitado com `400 Bad Request`; aguarde o rebuild terminar. Quando a plataforma estiver em modo de restrição, tipos diferentes de `web` ou `api` também podem receber `400 Bad Request`.


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.sondercloud.app/llms.txt).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.