resourcepack.ai
DOCS

Distribution

Unbind a server

What the Distribution tab's Unbind does: the server stops handing out the pack on its next check-in, and its players' rows go with it. Also takes back a claim code nobody has typed. It cannot be undone: binding the server again needs a new code. Needs the distribute permission on the pack. Free.

POST/packs/{pack}/distribution/servers/{server}/unbind

Path parameters

packstringrequired

The pack's slug, as returned by the packs endpoints.

serverstringrequired

The server's id, from GET /packs/{pack}/distribution/servers.

Response · 200

Unbound.

unboundbooleanrequired

Always true.

packstringrequired

The pack.

serverstringrequired

The server's id.

Error codes

Branch on error.code, never on the message.

invalid_api_key401

The key isn't one of ours, or it has been revoked.

missing_api_key401

No Authorization: Bearer header was sent.

wrong_key_kind401

An MCP key sent to the REST API, or an API key sent to the MCP server. Each only opens its own.

account_suspended403

The account is suspended, so its keys open nothing. message says until when, if the suspension has an end date.

forbidden403

Valid key, but not permitted to do this in this pack.

plan_required403

The key is valid, but its account's plan does not include the API.

not_found404

No such pack, asset or job.