-
Notifications
You must be signed in to change notification settings - Fork 2
create_organization
Ju-Yeon edited this page Jan 3, 2020
·
5 revisions
POST /auth/signup/organization
header
Context-type : application/json
Authorization : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InRlc3QyIiwibmFtZSI6Iu2FjOyKpO2KuCIsImlhdCI6MTU3NzczNTc0NywiZXhwIjoxNTgwMzI3NzQ3LCJpc3MiOiJGbG9vZFNlcnZlciJ9.73D_6HAyX0gdp_LH0VY4G0v9M5-I455OgtcNLQfvtqY
body
{
"name":"Flood",
"phone":"010-5737-6333",
"department":"개발",
"category":["IT", "디자인", "마케팅"]
}
Success :200
{
"message": "조직 생성 완료",
"code": "R2M8l5e05906e"
}
Fail : 200 missParameter name 과 groupImage 정보가 입력이 안되었을때.
{
"message": "모든 정보를 입력해 주세요"
}
200 : 조직에 가입되어있는 유저가 생성할때
{
"message": "이미 조직이 존재합니다."
}
Fail: 500
{
"message": "server error"
}