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 OPTIONAL
result object[] OPTIONAL
network integer
lockAddress string
userAddress string
metadata object
public object OPTIONAL
protected object OPTIONAL
error string[] OPTIONAL

Array containing user addresses for which metadata was not created.

400

Invalid input received. Bad request.

Schema OPTIONAL
message string OPTIONAL
error string OPTIONAL
404

The item you are making request for does not exist.

Schema OPTIONAL
message string OPTIONAL
500

Unable to fullfil request due to internal server error.

Schema OPTIONAL
message string OPTIONAL