Add custom role to player
Add a custom role to a player with a specified duration. ⚠️ This action has a cooldown of 5 seconds, per player.
Path Parameters |
---|
uuid uuid — REQUIREDUUID of the player |
roleId integer — REQUIREDID of the custom role to add |
Request Body — REQUIRED |
---|
period string — REQUIREDDuration period (required if type is 'period'). Available options include:
|
Responses | ||
---|---|---|
200 successful operation
| ||
400 Invalid input
| ||
404 Player or role not found
| ||
429 Too many requests
|