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

# Enable, disable, or delete a node

> Sets the status of one of the authenticated provider's nodes to enable, disable, or delete (hide). Allowed statuses: healthy, disabled by provider, provider-deleted.



## OpenAPI

````yaml /api-reference/openapi.json post /provider/nodes/status
openapi: 3.0.0
info:
  title: RouteMesh API
  version: 1.0.0
  description: >-
    HTTP API for routing JSON-RPC requests across providers, managing API keys,
    and viewing usage.
  license:
    name: Proprietary
    url: https://routeme.sh
servers:
  - url: https://api.routeme.sh
    description: API server — health, chains, API keys, usage, and public submissions
  - url: https://lb.routeme.sh
    description: RPC router (primary load balancer)
  - url: https://lb2.routeme.sh
    description: RPC router (AWS backup load balancer)
security: []
tags:
  - name: RPC
    description: Forward JSON-RPC requests to the router.
  - name: Chains
    description: Discover supported chains.
  - name: Submissions
    description: Public chain and node listing requests (rate-limited per IP).
  - name: API Keys
    description: Manage your API keys for self-service access.
  - name: Usage
    description: View your usage and billing data.
  - name: Pricing
    description: >-
      Current RPC route and websocket notification prices (public,
      rate-limited).
  - name: Health
    description: Service health checks.
  - name: Provider
    description: >-
      Provider-scoped management endpoints for managing node plans, methods, and
      nodes. Authenticated with a management token whose customer is linked to a
      provider.
paths:
  /provider/nodes/status:
    post:
      tags:
        - Provider
      summary: Enable, disable, or delete a node
      description: >-
        Sets the status of one of the authenticated provider's nodes to enable,
        disable, or delete (hide). Allowed statuses: healthy, disabled by
        provider, provider-deleted.
      operationId: setProviderNodeStatus
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProviderSetNodeStatusInput'
      responses:
        '200':
          description: Node status updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderSetNodeStatusResponse'
        '400':
          description: Invalid request body, node id, or status
        '401':
          description: Unauthorized
        '403':
          description: Provider not resolved
        '404':
          description: Node not found (or not owned by the caller's provider)
        '500':
          description: Internal server error
      security:
        - MgmtKeyAuth: []
      servers:
        - url: https://api.routeme.sh
components:
  schemas:
    ProviderSetNodeStatusInput:
      type: object
      properties:
        node_id:
          type: integer
        status:
          type: string
          description: >-
            healthy (enable), disabled by provider (disable), or
            provider-deleted (delete).
      required:
        - node_id
        - status
    ProviderSetNodeStatusResponse:
      type: object
      properties:
        node_id:
          type: integer
        status:
          type: string
  securitySchemes:
    MgmtKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        Management token from the RouteMesh dashboard (Settings → Management
        Tokens). Required for customer API endpoints (/api-keys, /usage). Tokens
        are prefixed rmtm_ and scoped to your account. Authenticate by passing
        the token in the X-Api-Key header. Separate from RPC service keys (rm_),
        which authenticate dApp traffic to the routing layer.

````