Packs
Rename an asset
Changes an asset's label, the name the Studio shows for it. Addressed exactly as a download is, by the listing's kind and name. Its id never changes, so nothing that points at it breaks.
A block and a 2D armour set are named by the vanilla thing they reskin, and a part (block_face, model_texture, item_model) by the asset it belongs to, so neither has a label to change. Free.
/packs/{pack}/assets/{kind}/{name}/renamePath parameters
packstringrequiredThe pack's slug, as returned by the packs endpoints.
kindstringrequiredThe asset's kind from the listing.
Options: texture, model, font, sound, shader, vfx, emote, emote_group
namestringrequiredThe asset's name from the listing.
Body
displayNamestringrequiredmax 50 charactersThe new label.
Response · 200
Renamed.
packstringrequiredThe pack.
kindstringrequiredThe kind you addressed it by.
namestringrequiredThe name you addressed it by, unchanged.
typestringrequiredWhat it is.
displayNamestringrequiredThe label as stored.
Error codes
Branch on error.code, never on the message.
invalid_request400Something in the body or query is wrong. message says what.
invalid_api_key401The key isn't one of ours, or it has been revoked.
missing_api_key401No Authorization: Bearer header was sent.
wrong_key_kind401An MCP key sent to the REST API, or an API key sent to the MCP server. Each only opens its own.
account_suspended403The account is suspended, so its keys open nothing. message says until when, if the suspension has an end date.
forbidden403Valid key, but not permitted to do this in this pack.
plan_required403The key is valid, but its account is on Starter. The API needs a paid plan.
not_found404No such pack, asset or job.