> For the complete documentation index, see [llms.txt](https://baeminchan-project.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://baeminchan-project.gitbook.io/project/undefined/username.md).

# 회원가입 시 중복  username 체크

## Get Cakes

<mark style="color:green;">`POST`</mark> `https://api.elegantsiblings.xyz/members/signup/check-username/`

username이 중복이 있는지 check

#### Request Body

| Name     | Type   | Description      |
| -------- | ------ | ---------------- |
| username | string | check할  username |

{% tabs %}
{% tab title="200  중복이다/중복이 아니" %}

```javascript
1. 중복일 경우
{
    "error": "동일한 username이 존재합니다"
}
2. 중복이 아닌경우 
{
    "pass": "사용가능한 username입니다"
}
```

{% endtab %}

{% tab title="400 username으로 보내지 않은 경" %}

```javascript
{
    "error": "username 값이 없습니다"
}
```

{% endtab %}
{% endtabs %}
