---
title: "POST /protege/"
method: POST
path: "/protege/"
tags: ["protege"]
---

# POST /protege/

`POST /protege/`

## Request

- Base URL: `http://api.footballchallengeapp.com`
- URL: `http://api.footballchallengeapp.com/protege/`
- Auth: HTTP basic

## Request body

- CreateProtege
  - `pk` integer
  - `first_name` string
  - `last_name` string
  - `avatar_image` string, uri, nullable
  - `avatar` string
  - `location` string, nullable
  - `address` string, nullable
  - `birthdate` string, date, nullable
  - `birth_year` integer, nullable
  - `teams_to_join` integer[]
  - `player_position` integer, nullable
  - `default_team` integer
  - `player_attributes` string[]
  - `goalkeeper_attributes` string[]
  - `agreed_to_rodo` boolean, nullable

## Response `201`

Created

- CreateProtege
  - `pk` integer
  - `first_name` string
  - `last_name` string
  - `avatar_image` string, uri, nullable
  - `avatar` string
  - `location` string, nullable
  - `address` string, nullable
  - `birthdate` string, date, nullable
  - `birth_year` integer, nullable
  - `teams_to_join` integer[]
  - `player_position` integer, nullable
  - `default_team` integer
  - `player_attributes` string[]
  - `goalkeeper_attributes` string[]
  - `agreed_to_rodo` boolean, nullable

---

[API](https://skmtc.dev/footballchallengeapp/apis/fcapp-ver-2-api.md) - [All operations](https://skmtc.dev/footballchallengeapp/apis/fcapp-ver-2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/footballchallengeapp/apis/fcapp-ver-2-api/revisions/80c7593b6107?raw)
