Skip to main content

Mutate player tokens

Add or remove tokens from a player's balance. ⚠️ This action has a cooldown of 5 seconds, per player.

Path Parameters
uuid uuid — REQUIRED

UUID of the player

Request Body — REQUIRED
amount integer — REQUIRED

Amount of tokens to add or

  • remove
description string

Description of the token transaction

Responses
200

successful operation

Schema — OPTIONAL
data string — OPTIONAL
400

Invalid input

Schema — OPTIONAL
error string — OPTIONAL
404

Player not found

Schema — OPTIONAL
error string — OPTIONAL
429

Too many requests

Schema — OPTIONAL
error string — OPTIONAL