PATCH - Update Asset
Use this endpoint to update an asset
PATCH
https://api.readyplayer.me/v1/assets/:id
Path Parameters
Name
Type
Description
id*
string
The id of the asset you want to update.
Request Body
Name
Type
Description
data.name
string
Minimum length of 1 character
data.type
enum(string)
Possible values:
outfit
data.gender
enum(string)
Possible values:
male
, female
, neutral
data.modelUrl
url
Must be a valid url pointing to a GLB file.
data.iconUrl
url
Must be a valid url pointing to a PNG or JPG file.
data.locked
boolean
data.applications
array
list of application-asset relations this asset should be available in.
Example Request Body
Example Response
Last updated
Was this helpful?