Skip to content
SoulFire LogoSoulFire

Batch remove instance accounts

POST
/v1/instances/{id}/accounts:batchRemove

Removes multiple Minecraft accounts from the instance by their profile_ids. More efficient than multiple RemoveInstanceAccount calls.

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Path Parameters

id*string

The unique identifier (UUID) of the instance.

Formatuuid

Request Body

application/json
  1. body

Request to remove multiple Minecraft accounts from an instance in a single operation. More efficient than multiple individual RemoveInstanceAccount calls.

profileIds*array<string>

List of profile_ids (UUIDs) of accounts to remove.

Formatuuid

Response Body

Response after successfully removing accounts in batch.

application/json
  1. response

Response after successfully removing accounts in batch. Empty response indicates success.

Example Request
curl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/accounts:batchRemove' \
  -H 'Content-Type: application/json' \
  -d '{
  "profileIds": [
    "string"
  ]
}'
Example Response
{}

Was this page helpful?