v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB
gateway-configs

Update a GatewayConfig.

Update an existing GatewayConfig. All fields are optional.

post/v1/gateway-configs/{id}

Path parameters

idstring required

The unique identifier of the GatewayConfig to update.

Request body

namestring nullable

New name for the GatewayConfig. Must be unique within your account.

endpointstring nullable

New target endpoint URL (e.g., 'https://api.anthropic.com').

descriptionstring nullable

New description for this gateway configuration.

Response

GatewayConfig updated successfully.

idstring required

The unique identifier of the GatewayConfig.

account_idstring nullable

The account ID that owns this config.

namestring required

The human-readable name of the GatewayConfig. Unique per account (or globally for system configs).

endpointstring required

The target endpoint URL (e.g., 'https://api.anthropic.com').

descriptionstring nullable

Optional description for this gateway configuration.

create_time_msinteger required

Creation time of the GatewayConfig (Unix timestamp in milliseconds).