How to make limit_req_zone for the api token?

Read the documentation for limit_req_zone, but I really do not understand is it possible to restrict query api token
I have a few URLs where the user specifies the token
tutToken Is a user token
Is it possible to get the rate value from the database?
And how correctly to write this code for different links
limit_req_zone $request_uri zone=by_uri:10m rate=30r/m;
April 4th 20 at 13:16
1 answer
April 4th 20 at 13:18

Find more questions by tags PHP