Private Endpoints
Delete a private endpoint
Changed onDelete a private endpoint and stop routing to it. Pass draft_only=true to refuse (409) when the endpoint has been activated. Management key required.
delete/private-endpoints/{id}
Request
- Base URLhttps://openrouter.ai/api/v1
- AuthHTTP bearer
Path parameters
id, string uuid required
Stable identifier of the private endpoint.
Example:5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11
Query parameters
draft_only, 'true' | 'false'
When true, only delete the endpoint if it is still a draft (409 otherwise).
Response
The endpoint was deleted
Delete Private Endpoint Response required
data, object required
Example response
{
"data": {
"id": "5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11"
}
}Changes
- info
endpoint added
- info