Transfer players
POST {{baseUrl}}/v1/teams/{{team_id}}/transfer/players
This endpoint gives the user the ability to transfer players. The coaches have the ability to transfer players from one team to another.
Request Body
[{"name"=>"players", "value"=>"[1,2,3,4]", "datatype"=>"string"}, {"name"=>"team_id", "value"=>"{{team_id}}", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token | |
Organisation | number | ||
Role | string |
RESPONSES
status: OK
{"error":false,"code":200,"message":"Your player(s) have been transfered."}