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

# Delete Server

> Permanently delete a server you own. The server is stopped and removed
immediately on the hypervisor; this action is irreversible. **No balance
is refunded**, regardless of the remaining time on the server.




## OpenAPI

````yaml delete /servers/{server}
openapi: 3.1.0
info:
  title: APIFiddle Sample Definition
  version: 0.0.0
  description: Example workspace
servers:
  - url: https://rdp.sh/api/v1
    description: Default production endpoint.
security: []
paths:
  /servers/{server}:
    delete:
      summary: Delete a server
      description: |
        Permanently delete a server you own. The server is stopped and removed
        immediately on the hypervisor; this action is irreversible. **No balance
        is refunded**, regardless of the remaining time on the server.
      operationId: deleteServer
      parameters:
        - $ref: '#/components/parameters/server'
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                title: DeleteServerOk
                required:
                  - status
                  - message
                  - server_id
                properties:
                  status:
                    type: boolean
                    examples:
                      - true
                  message:
                    type: string
                    examples:
                      - Server deleted successfully
                  server_id:
                    type: integer
                    examples:
                      - 123
          description: Server deleted successfully.
        '403':
          content:
            application/json:
              schema:
                type: object
                title: DeleteServerUnauthorized
                properties:
                  status:
                    type: boolean
                    examples:
                      - false
                  error:
                    type: string
                    examples:
                      - This action is unauthorized
          description: User does not own the server.
        '404':
          description: Server not found.
      security:
        - Authorization: []
components:
  parameters:
    server:
      in: path
      name: server
      schema:
        type: string
      required: true
  securitySchemes:
    Authorization:
      in: header
      name: Authorization
      type: apiKey

````