Attach a registry to a consumer
Associates a registry with a consumer (idempotent). The optional body sets the registry weight for weighted load balancing.
POST
/
v1
/
gateways
/
{gateway_id}
/
consumers
/
{id}
/
registries
/
{registry_id}
Error
A valid request URL is required to generate request examples{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
Path Parameters
Gateway id
Consumer id
Registry id
Body
application/json
Optional registry weight
Weight is the relative weighted-round-robin share on a 1..100 scale.
Required range:
1 <= x <= 100Example:
1
Response
No Content
⌘I
Error
A valid request URL is required to generate request examples{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}