Hi Rob,
The recommended way to add your Middleware settings is via a PUT request made to the relevant API definition. In order to do this, you will need to:
- Make a GET request to the API definition itself (documentation on how to do this can be found here if you’re unsure)
- Copy and paste the response body into the payload of the PUT request that you want to send
- Change the
custom_middleware
object in your current PUT request to contain your Middleware settings - Send the PUT request to the API definition
As for the link to the Tyk Pro documentation, when the file was written, I believe it was assumed that only Pro users would use the Dashboard in this way and so it is actually specific to the Tyk Dashboard. The instructions in that file should still work if you’re using the Dashboard with a single Tyk node. If you’re still unable to use said instructions however, then I would suggest you change the Middleware via an API request as stated earlier.
Kind regards,
Jess @ Tyk