Create Hub

Create a new hub

POST /api/hubs

Access Permissions

MASTER

마스터

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

hubName

String

Name of the hub

address

String

Address of the user

latitude

Double

latitude of the hub

longitude

Double

longitude of the hub

Response

{
  "id": 1,
  "hubName": "서울특별시 센터",
  "address": "서울특별시 송파구 송파대로 55",
  "latitude": 11.111,
  "longitude": 11.111
}

Last updated