PUT - Lock asset for a user

Use this endpoint for locking an unlocked asset for a user

PUT https://api.readyplayer.me/v1/assets/:id/lock

Path Parameters

NameTypeDescription

*

String

The id of the asset you want to lock

Request Body

NameTypeDescription

data.userId*

String

The id of the user you want to lock the asset for

Example Request Body

{
    "data": {
        "userId": "64943d471dc01e086ac887ee"
    }
}

Last updated