Close a Key Request

Sometimes you have to cancel the service you were supposed to provide, or change the original date for many reasons. Thinking of these kinds of situations, we’ve made it possible for you to easily “Close” a Key Request. This process will in turn revoke all of the Keys that may have been generated for the Key Request.

To close a Key Request, send a POST request to:

No additional request parameters are required.


curl --location --request POST '<<api_url>>/v1/partners/<<service_provider_id>>/key-requests/<<key_request_id>>' \
--header 'Authorization: Bearer <<service_provider_api_key>>/close’
--header 'Content-Type: application/json' \

After a successful request, the API will send an empty response and the Key Request status will become archived.

With these few API endpoints you will be able to create and manage Key Requests to provide services to your users in an easier way with the help of Unloc.

What’s Next

Be sure to check out the API documentation