Private Endpoints

Disable a private endpoint

Changed on

Stop routing to an active endpoint without deleting it. Management key required.

post/private-endpoints/{id}/disable

Request

  • Base URL
    https://openrouter.ai/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Stable identifier of the private endpoint.

Example:5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11

Response

The endpoint after the change

ManagedPrivateEndpointResponse required
data, ManagedPrivateEndpoint required

Example response

{
  "data": {
    "created_at": "2026-09-24T10:30:00Z",
    "id": "5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11",
    "model_name": "OpenAI: GPT-4o",
    "model_permaslug": "openai/gpt-4o-2024-08-06",
    "model_slug": "openai/gpt-4o",
    "provider_name": "Azure",
    "status": "active",
    "declared_region": "us",
    "declared_zdr": true,
    "max_completion_tokens": 131072
  }
}

Changes