Distribution
Rename a bound server
Changes the name the Studio shows a bound server by. Needs the distribute permission on the pack. Free.
/packs/{pack}/distribution/servers/{server}/renamePath parameters
packstringrequiredThe pack's slug, as returned by the packs endpoints.
serverstringrequiredThe server's id, from GET /packs/{pack}/distribution/servers.
Body
namestringrequiredmax 60 charactersThe new name.
Response · 200
Renamed.
packstringrequiredThe pack.
serverobjectrequiredThe server as it is now.
idstringrequiredThe server's id, for renaming or unbinding it.
namestringrequiredWhat the Studio calls it.
statusstringrequiredwaiting until somebody types the code on the server, bound after.
Options: waiting, bound
claimCodestringrequiredThe code to type, while waiting. Null once bound.
commandstringrequiredThe whole command to type in the server's console or chat, while waiting. Null once bound.
claimedAtstringrequiredISO 8601, when it was bound.
pluginVersionstringrequiredThe RP Engine version it runs, from its last check-in.
serverVersionstringrequiredIts Minecraft version, from its last check-in.
viaVersionbooleanrequiredWhether it runs ViaVersion, so players on other versions can join.
geyserbooleanrequiredWhether it runs Geyser, so Bedrock players can join.
lastSeenAtstringrequiredISO 8601, its last check-in: the plugin is alive.
lastServeAtstringrequiredISO 8601, the last time it handed the pack to somebody.
createdAtstringrequiredISO 8601.
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's plan does not include the API.
not_found404No such pack, asset or job.