Create a New Static Key
Changed onCreate new static key to this event gateway.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v1/event-gateways/{gatewayId}/static-keys
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"labels": {
"env": "test"
},
"value": "${vault.env['MY_ENV_VAR']}"
}Response
Created
Example response
{
"labels": {
"env": "test"
},
"value": "${vault.env['MY_ENV_VAR']}",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
the
request property's minLength was increased from0to1 - info
the
request property default valuewas added - info
the
response's property default valuewas added for the status
- breaking
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - warning
removed
subschema #2from the request bodyallOflist - info
added the new optional request property
- info
added the new optional request property
- info
removed
subschema #2from the response bodyallOflist for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking