How to create Time limited API Keys in Datkey
Time limited API Keys are API Keys that expire after a certain amount of time. They are useful for when you want to give a user access to your API for a limited amount of time. For example, you might want to give a user access to your API for 1 hour, or 1 day, or 1 week. You can do this by creating a Time limited API Key that expires after a certain amount of time.
To create a Time limited API Key, you need to make a POST
request to the /keys
endpoint. You can read about all the parameters you can send in the API Reference.
Once the key is created, you can send it to your user. They can then use it to access your API. Once the key expires, they will no longer be able to access your API and the key will be invalidated.
How to create Time limited API Keys in Datkey
Time limited API Keys are API Keys that expire after a certain amount of time. They are useful for when you want to give a user access to your API for a limited amount of time. For example, you might want to give a user access to your API for 1 hour, or 1 day, or 1 week. You can do this by creating a Time limited API Key that expires after a certain amount of time.
To create a Time limited API Key, you need to make a POST
request to the /keys
endpoint. You can read about all the parameters you can send in the API Reference.
Once the key is created, you can send it to your user. They can then use it to access your API. Once the key expires, they will no longer be able to access your API and the key will be invalidated.