Unlock
POST http://localhost:{{daprPort}}/v1.0-alpha1/unlock/:storename
This endpoint lets you unlock an existing lock based on the lock owner and resource Id.
The status field contains the following response codes:
| Code | Description |
|---|---|
| 0 | Success |
| 1 | Lock doesn’t exist |
| 2 | Lock belongs to another owner |
| 3 | Internal error |
Request Body
{"resourceId"=>"{{resourceId}}", "lockOwner"=>"{{lockOwner}}"}
RESPONSES
status: OK
{"status":0}