Difficulty setting up URL rewrite

Good Day

I’m a new to Tyk and having difficulty with the following.
My url endpoint: https://www.mydomain.com/api/v2/runs/run_token/data

within the endpoint “run_token” is a ever changing paramiter in the request, each request will have a different token

how do I rewrite this within the endpoint designer

Hi Gert,

have you followed our URL rewrite guide ?

Thanks,
Kos @ Tyk Support Team

Hi Kos, please see the configuration, it doesnt seem to work

Hi Gert,

a similar issue has been resolved in this ticket.
Let me know if this helps.

Thanks,
Kos @ Tyk Support Team

You’re close, though I’m a little confused:

So run_token is a variable that will change from request to request?

If this is true, you need this:

Assuming your listen path is /api/ and you are versioning in the URL or '/api/v1/` and there is no versining being handled by Tyk.

Best place to check your regex groups for Tyk is here btw: