Limiting the usage of keys
remaining
value represents how many verifications are remaining after the current one.
A value of 3, means you can verify the key successfully 3 more times.1
from the remaining verifications, but in some cases you need to deduct more.
You can override this in the request body. In this example unkey would deduct 4
for every valid verification.
If a key would only have 3 remaining, the request would be rejected, as there is not enough remaining left.
cost = 0
. In this case, the request will always be valid, but will not deduct anything.