Skip to main content
POST
Create a consumer

Authorizations

Authorization
string
header
required

Path Parameters

gateway_id
string<uuid>
required

Gateway id

Body

application/json

Consumer to create

active
boolean
fail_mode
string
fallback
object
headers
object
lb_config
object
model_policies
object[]
name
string
registries
object[]
roles
string[]
routing_mode
string
toolkit
object[]
type
string

Response

Created

active
boolean
auth_ids
string[]
created_at
string
fail_mode
string
fallback
object
gateway_id
string
headers
object
id
string
lb_config
object
model_policies
object[]
name
string
registry_ids
string[]
registry_weights
object[]
role_ids
string[]
routing_mode
string
slug
string
toolkit
object[]
type
string
updated_at
string