I am facing a problem with Tyk Dashboard while creating an API.
I want to set Custom Domain field with a subdomain of this pattern “xxx.yyy.zzz.domain.com”
This config was accepted before but now the field is red with this message “Please enter a valid hostname value”
How can I make it work again, there are no information about that in the official docs ?
We updated our Tyk Pro platform to these versions:
tyk-gateway 2.4.1
tyk-dashboard 1.4.1
First, you need to GET the API definition by calling /api/apis/{id}, then you need to update the domain element in the JSON document and finally PUT the updated JSON document back by calling /api/apis/{id} again.
You’ll need to authenticate against the API by using the Tyk Dashboard API Access Credentials property of your Dashboard user account in the authorization header.
Thank you for your quick reply.
Indeed it is working when using Dashboard API manually.
It would be much simplier if we can create and update our APIs via Dashboard GUI.
Hope you can fix it very soon