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

# Restart System

> Restarts the system services.



## OpenAPI

````yaml api-reference/openapi.json post /api/bash/restart
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: http://localhost:4242/{computer_name}
    description: Local development server
    variables:
      computer_name:
        default: your-computer-name
        description: Computer name
security: []
paths:
  /api/bash/restart:
    post:
      tags:
        - bash
      summary: Restart System
      description: Restarts the system services.
      operationId: restartSystem
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RestartParams'
        required: true
      responses:
        '204':
          description: Successfully initiated restart
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal server error
components:
  schemas:
    RestartParams:
      properties: {}
      type: object
      title: RestartParams
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````