post https://api.unloc.app/integrators/v1/lock-holders//keys/
Creates a new Key.
The new Key will be in the state creating
until an async operation has succeeded or failed at creating it in the vendor system. Failed Keys will get the state error
, so make sure to check Key state after this call. The async operation usually takes a few seconds, but can in extreme circumstances take several hours.
We provide two endpoints to create Keys for the sake of completeness. Both behave in the exact same way, except that lockId
is present in the request body on this endpoint, whereas Create a Key for a Lock expects it to be on the request path.