Player requests to join a team

POST {{baseUrl}}/{{version}}/teams/jointeam/{{team_code}}

This endpoint enable Players to request to join a team. Once a Player requests to join a team, he/she is placed in the Invites list so the coach can approve/reject that request.

Request Body

[{"name"=>"team_name", "value"=>"Team FC", "datatype"=>"string"}, {"name"=>"team_description", "value"=>"A new way to play", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringA valid JWT token

RESPONSES

status: OK

{"error":false,"code":200,"message":"Request made successfully. Pending approaval."}