Create a Key for a Lock

Creates a new Key for a given Lock.
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 path on this endpoint, whereas Create a Key expects it to be on the request body.

Click Try It! to start a request and see the response here!