suspended.write
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| uuid | string | The player uuid |
| Key | Type | Description | Default | Required |
|---|---|---|---|---|
| reason | string | The reason for the suspension (min length: 10, max length: 255) |
❌ | ✅ |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
ALREADY_SUSPENDED |
The player is already suspended | |
BAD_BODY |
The request body is invalid | |
INVALID_REASON |
The value reason doesn't follow the requirements |
|
INVALID_SERVER_ID |
The server id is invalid | |
MISSING_BODY |
The request does not have a body | |
UNAUTHORIZED |
The token is invalid or expired | |
ACCESS_DENIED |
The token or the author does not have the required permissions | |
DISCORD_CONNECTION_REQUIRED |
You need a Discord account link to your Steam Account to access to the route | |
PLAYER_NOT_FOUND |
The uuid doesn't refer to an existing player | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"
suspended.write
| Name | Type | Description |
|---|---|---|
| serverId | number | The server id |
| uuid | string | The player uuid |
| Key | Type | Description | Default | Required |
|---|---|---|---|---|
| reason | string | The reason for the unsuspension (min length: 10, max length: 255) |
❌ | ✅ |
| Status | Code | Description |
|---|---|---|
OK |
The request has been successfully completed | |
BAD_BODY |
The request body is invalid | |
INVALID_REASON |
The value reason doesn't follow the requirements |
|
INVALID_SERVER_ID |
The server id is invalid | |
MISSING_BODY |
The request does not have a body | |
NOT_SUSPENDED |
The player is not suspended | |
UNAUTHORIZED |
The token is invalid or expired | |
ACCESS_DENIED |
The token or the author does not have the required permissions | |
DISCORD_CONNECTION_REQUIRED |
You need a Discord account link to your Steam Account to access to the route | |
PLAYER_NOT_FOUND |
The uuid doesn't refer to an existing player | |
SERVER_NOT_FOUND |
The server does not exist | |
INTERNAL_ERROR |
An internal error has occured |
"OK"