The command ensures the Gateway with the provided ID is created or modified. The full Gateway must be provided to ensure (either update or create) the Gateway. Non-present data will only be filled with defaults or left empty, but previous values will not be taken into consideration.
To ensure the Gateway, you need to use the following PUT
request:
PUT /gateways/{apigatewayId}
200 Gateway successfully updated
201 Gateway successfully ensured