Skip to main content
PATCH
Update a draft private endpoint

Authorizations

Authorization
string
header
required

API key as bearer token in Authorization header

Path Parameters

id
string<uuid>
required

Stable identifier of the private endpoint.

Example:

"5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11"

Body

application/json
upstream_model_id
string
required

Model or deployment identifier sent to the upstream provider.

Minimum string length: 1
Example:

"gpt-4o-prod"

base_url
string

HTTPS base URL of your deployment. Required unless the provider derives its URL from the BYOK credential (Azure, Amazon Bedrock, Google Vertex).

Minimum string length: 1
Example:

"https://contoso.openai.azure.com"

declared_region
enum<string> | null

Attest where this deployment processes data.

Available options:
global,
europe,
us,
null
Example:

"us"

declared_zdr
boolean | null

Attest that this deployment retains no prompt or completion data.

Response

The updated endpoint

data
object
required
Example: