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
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.

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
auth_binding
object
auth_ids
string[]
created_at
string
fail_mode
string
fallback
object
gateway_id
string
headers
object
id
string
identity
object
lb_config
object
model_policies
object[]
name
string
registry_ids
string[]
registry_weights
object[]
slug
string
toolkit
object[]
type
string
updated_at
string