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

# Release a billing warm slot

> Releases the org's warm slot at slotIndex, detaching whatever project holds it while the slot keeps its index.

Use this tool when you need to:
- Stop keeping a project's machines warm
- Free a warm slot for another project

Examples:
- DELETE /orgs/{orgID}/billing/slots/0

Hints:
- orgID is the org's uuid and slotIndex the slot's index, an integer from 0 to 2147483647 (422 from the schema otherwise). Answers 204 with no body.
- Releasing a slot that holds nothing, or an index never assigned, changes nothing and still answers 204; any index in range is accepted, one at or past the org's warm_slot_limit too.
- A released slot below the limit is free for the auto-fill, which may give it to a recently active project that has no pin.
- Use assignBillingWarmSlot instead to put another project on the slot in one call, and listBillingWarmSlots to read the grid.
- Owners, admins and billing members only, with a session or a platform API key: a member or viewer is refused with 403 org_role_insufficient before the path is validated, a non-member with 403 org_membership_required, an orgID that is not a uuid with 400, and an agent host's grant with 403 agent_host_route_not_allowed.



## OpenAPI

````yaml api-reference/openapi.json DELETE /orgs/{orgID}/billing/slots/{slotIndex}
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /orgs/{orgID}/billing/slots/{slotIndex}:
    delete:
      tags:
        - billing
      summary: Release a billing warm slot
      description: >-
        Releases the org's warm slot at slotIndex, detaching whatever project
        holds it while the slot keeps its index.


        Use this tool when you need to:

        - Stop keeping a project's machines warm

        - Free a warm slot for another project


        Examples:

        - DELETE /orgs/{orgID}/billing/slots/0


        Hints:

        - orgID is the org's uuid and slotIndex the slot's index, an integer
        from 0 to 2147483647 (422 from the schema otherwise). Answers 204 with
        no body.

        - Releasing a slot that holds nothing, or an index never assigned,
        changes nothing and still answers 204; any index in range is accepted,
        one at or past the org's warm_slot_limit too.

        - A released slot below the limit is free for the auto-fill, which may
        give it to a recently active project that has no pin.

        - Use assignBillingWarmSlot instead to put another project on the slot
        in one call, and listBillingWarmSlots to read the grid.

        - Owners, admins and billing members only, with a session or a platform
        API key: a member or viewer is refused with 403 org_role_insufficient
        before the path is validated, a non-member with 403
        org_membership_required, an orgID that is not a uuid with 400, and an
        agent host's grant with 403 agent_host_route_not_allowed.
      operationId: releaseBillingWarmSlot
      parameters:
        - in: path
          name: orgID
          required: true
          schema:
            format: uuid
            type: string
        - description: The slot's place in the org's grid, from 0.
          in: path
          name: slotIndex
          required: true
          schema:
            description: The slot's place in the org's grid, from 0.
            format: int64
            maximum: 2147483647
            minimum: 0
            type: integer
      responses:
        '204':
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/BillingErrorResponse'
                  - $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingErrorResponse'
          description: Gone
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingErrorResponse'
          description: Internal Server Error
components:
  schemas:
    BillingErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - bad_gateway
            - bad_request
            - checkout_pending
            - cli_upgrade_required
            - client_outdated
            - conflict
            - enterprise_invoice
            - forbidden
            - free_tier
            - gateway_timeout
            - gone
            - internal_error
            - invalid_surface
            - managed_elsewhere
            - method_not_allowed
            - no_billing_history
            - not_acceptable
            - not_found
            - not_implemented
            - payment_delinquent
            - payment_required
            - personal_org_requires_personal_plan
            - precondition_failed
            - provider_unavailable
            - rate_limited
            - request_canceled
            - request_timeout
            - request_too_large
            - requires_org_admin
            - service_unavailable
            - subscription_active
            - subscription_pending
            - team_org_requires_team_plan
            - team_plan_web_only
            - team_seats_via_membership
            - unauthenticated
            - unsupported_media_type
            - validation_failed
            - warm_slot_occupied
            - web_only
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
        - code
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
            - agent_host_route_not_allowed
            - credential_kind_not_admitted
            - grant_scope_insufficient
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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