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:

CodeDescription
0Success
1Lock doesn’t exist
2Lock belongs to another owner
3Internal error

Request Body

{"resourceId"=>"{{resourceId}}", "lockOwner"=>"{{lockOwner}}"}

RESPONSES

status: OK

{"status":0}