Sometimes you would like to create an api key and automatically invalidate it after a certain number of uses. Example: You are selling API access and a customer has purchased 1000 api requests from you. Datkey allows you to set/update usage limits on individual keys and we take care of invalidating a key after it has reached its limit.Documentation Index
Fetch the complete documentation index at: https://docs.datkey.dev/llms.txt
Use this file to discover all available pages before exploring further.
Example
Let’s create a new key, which can be used/validated 100 times.- The returned
verificationsvalue represents how many verifications have been done. - The returned
verification_limitvalue represents the total amount of verification that can be perfermed on that key. - The difference between
verification_limitandverificationsis the about of verifications left.