Skip to main content

updateUsersMetadata

Update or create user metadata for lock.

Request Body REQUIRED

users array containing user metadata.

users object[]
network integer REQUIRED
lockAddress string REQUIRED
userAddress string REQUIRED
metadata object REQUIRED
public object
protected object
Responses
201

Array containing user metadata which was created. If the user already has metadata, it will not be updated and present in the array.

Schema
result object[]
network integer REQUIRED
lockAddress string REQUIRED
userAddress string REQUIRED
metadata object REQUIRED
public object
protected object
error string[]

Array containing user addresses for which metadata was not created.

400

Invalid input received. Bad request.

Schema
message string
error string
404

The item you are making request for does not exist.

Schema
message string
500

Unable to fullfil request due to internal server error.

Schema
message string