Teleport the specified player to the specified location
POST
/api/v1/players/[Player name | Player UUID]/location
Application/Json
| Key | Value | Type | Required |
|---|---|---|---|
| Authorization | Basic [key] | string | For Basic authentication mode only |
| Authorization | [key] | string | For Key-Basic and Key-Advanced authentication modes only |
No parameters
{
"world" : string, // The world name to teleport the player to
"x": int, // x position
"y": int, // y position
"z": int // z position
}| Authentication type | Key type | Allowed |
|---|---|---|
| Open | ![]() | |
| Basic | ![]() | |
| Key-Basic | ![]() | |
| Key-Advanced | Public key | ![]() |
| Key-Advanced | Protected key | ![]() |
| Key-Advanced | Admin key | ![]() |
{
"success": bool,
"code": int,
"message": string
}{
"success": bool,
"code": int,
"message": string
}| HTTP Code | Type |
|---|---|
| 202 | Accepted |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |