---
title: "Update Asset"
method: PATCH
path: "/assets/{assetId}"
tags: ["asset"]
---

# Update Asset

`PATCH /assets/{assetId}`

Use this endpoint to update an asset

## Path parameters

- `assetId` string, required

## Request body

- UpdateAssetRequest
  - `data` object
    - `name` string — The name of the asset
    - `type` 'outfit' | 'top' | 'shirt' | 'bottom' | 'beard' | 'eye' | 'eyebrows' | 'eyeshape' | 'facemask' | 'faceshape' | 'facewear' | 'footwear' | 'glasses' | 'hair' | 'headwear' | 'lipshape' | 'noseshape' | 'costume' — Defines which body part of the avatar this asset belongs to
    - `gender` 'male' | 'female' | 'neutral' — Defines which avatar genders are supported
    - `modelUrl` string, url — Must be a valid url pointing to a GLB file
    - `iconUrl` string, url — Must be a valid url pointing to a PNG or JPG file
    - `locked` boolean — Whether the asset is locked
    - `applications` ApplicationAssetRelation[] — List of application-asset relations this asset should be available in
      - `id` string — Id of the application
      - `organizationId` string — Application owner organization ID
      - `isVisibleInEditor` boolean — Boolean which defines if the asset is visible in provided applications avatar editor
      - `masculineOrder` integer — For male/neutral assets, defines the asset order in avatar editor for specified application
      - `feminineOrder` integer — For female/neutral assets, defines the asset order in avatar editor for specified application

## Response `201`

A typical successful response

- AssetInfoResponse
  - `data` AssetInfo
    - `id` string — Automatically generated numeric Identifier of an asset
    - `name` string — The name of an asset
    - `organizationId` string — The Id of the asset owner organization
    - `locked` boolean — A boolean value which when set to true requires the asset to be unlocked for specific user before it is usable by them
    - `type` 'outfit' | 'top' | 'shirt' | 'bottom' | 'beard' | 'eye' | 'eyebrows' | 'eyeshape' | 'facemask' | 'faceshape' | 'facewear' | 'footwear' | 'glasses' | 'hair' | 'headwear' | 'lipshape' | 'noseshape' | 'costume' — Defines which body part of the avatar this asset belongs to
    - `gender` 'male' | 'female' | 'neutral' — Defines which avatar genders are supported
    - `modelUrl` string — The URL where you can find the GLB model for the asset
    - `iconUrl` string — The URL where you can find the icon for the asset
    - `hasApps` boolean — A boolean value indicating if this asset is available in any applications or not
    - `createdAt` string, date-time — Datetime when this asset was created
    - `updatedAt` string, date-time — Datetime when this asset was last updated
    - `applications` ApplicationAssetRelation[] — Array of application-asset relations
      - `id` string — Id of the application
      - `organizationId` string — Application owner organization ID
      - `isVisibleInEditor` boolean — Boolean which defines if the asset is visible in provided applications avatar editor
      - `masculineOrder` integer — For male/neutral assets, defines the asset order in avatar editor for specified application
      - `feminineOrder` integer — For female/neutral assets, defines the asset order in avatar editor for specified application

---

[API](https://skmtc.net/zerobias-org/apis/zerobias-org-module-readyplayerme-readyplayerme.md) · [All operations](https://skmtc.net/zerobias-org/apis/zerobias-org-module-readyplayerme-readyplayerme/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zerobias-org/zerobias-org-module-readyplayerme-readyplayerme/versions/34213152576e/schema)
