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

# Delete Server

> Use this endpoint to delete a server. This method only works for servers created as part of a resource pack.



## OpenAPI

````yaml /api/control-panel/resource-pack.json delete /resourcePack/{resourcePackId}
openapi: 3.0.1
info:
  title: 'Evevps Control Panel API: Resource Pack'
  description: >-
    Manage Evevps resource packs and create or delete servers inside them.


    ### Authentication


    Include your API token in the `Authorization` header of each request:


    ```

    Authorization: Bearer <your_api_token>

    ```


    If the token is missing, invalid, or expired, the API responds with `HTTP
    401 Unauthorized`.


    ### Data Format


    The API uses **JSON** for all requests and responses. Send `Content-Type:
    application/json` and `Accept: application/json` headers.


    ### Rate Limiting


    Each response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and
    `X-RateLimit-Reset` headers. When the limit is reached, the API responds
    with `HTTP 429 Too Many Requests`.


    ### Service Availability


    During maintenance the API returns `HTTP 503 Service Unavailable`. Retry
    later.
  version: 1.0.0
servers:
  - url: https://api.example.com/api
security: []
tags:
  - name: Resource Pack
paths:
  /resourcePack/{resourcePackId}:
    delete:
      tags:
        - Resource Pack
      summary: Delete Server
      description: >-
        Use this endpoint to delete a server. This method only works for servers
        created as part of a resource pack.
      parameters:
        - name: resourcePackId
          in: path
          required: true
          schema:
            type: string
        - $ref: '#/components/parameters/Accept'
      responses:
        '204':
          description: ''
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      security:
        - bearer: []
components:
  parameters:
    Accept:
      name: Accept
      in: header
      required: true
      example: application/json
      schema:
        type: string
        enum:
          - application/json
  responses:
    Unauthorized:
      description: Unauthorized
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Errors'
    Unprocessable:
      description: Unprocessable Entity
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Errors'
    TooManyRequests:
      description: Too Many Requests
  schemas:
    Errors:
      type: object
      properties:
        errors:
          type: array
          items:
            type: string
      example:
        errors:
          - This is an error returned from the API
          - This is another error return from the API
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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