Skip to main content
PUT
Error

Authorizations

Authorization
string
header
required

Path Parameters

gateway_id
string<uuid>
required

Gateway id

id
string<uuid>
required

Consumer id

Body

application/json

Consumer fields to update

active
boolean
audience
enum<string>

Audience is set at create and cannot change: a value other than the stored one answers 422.

Available options:
application,
personal
auth_binding
object

AuthBinding replaces the whole binding. Omit to keep it; send empty lists to clear it.

auths
string[]

Auths replaces the whole auth association set with the listed auth ids: auths absent from the list are detached. Omit the field to leave the associations as they are; send an empty list to detach every auth.

description
string

Description replaces the free-text description. Omit it to keep the current one; send an empty string to clear it.

Maximum string length: 500
fail_mode
string
fallback
object
headers
object
identity
object

Identity replaces who the consumer acts for. Omit to keep it as it is.

lb_config
object
model_policies
object[]
name
string
registries
object[]

Registries replaces the whole registry association set: registries absent from the list are detached. Omit the field to leave the associations as they are; send an empty list to detach every registry.

toolkit
object[]
type
string

Response

OK

active
boolean
audience
enum<string>
Available options:
application,
personal
auth_binding
object
auth_ids
string[]
created_at
string
description
string
fail_mode
string
fallback
object
gateway_id
string
headers
object
id
string
identity
object
label_sets
object[]

LabelSets are the traffic label sets the consumer's chat requests are classified against; empty when it has none.

lb_config
object
model_policies
object[]
name
string
registry_ids
string[]
registry_weights
object[]
slug
string
synthetic
boolean

Synthetic marks a consumer the gateway serves without storing: today the MCP Store. It has no row, so it cannot be edited, deleted or given a key, and it is only listed when a caller asks for it.

toolkit
object[]
type
string
updated_at
string