Reference for http://www.bungie.net/d1/Platform/Destiny/SetLockState/

Set the Lock State for an instanced item. You must have a valid Destiny Account.

Url: http://www.bungie.net/d1/Platform/Destiny/SetLockState/

HTTP Method: POST

Requires Sign-in: true

Url Parameters: No Url Parameter documentation is available for this method.

Request/Response Body Formats:

Message Direction Format Body
Request JSON JSON object
Response JSON JSON object

The following is an example of a request JSON body for this method.

{
  "state": false,
  "itemId": "0",
  "characterId": "0",
  "membershipType": 0
}

The following is an example of a response JSON body for this method.

{
  "Response": 0,
  "ErrorCode": 0,
  "ThrottleSeconds": 0,
  "ErrorStatus": null,
  "Message": null,
  "MessageData": null
}