Skip to main content
PUT
Update hub

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Path Parameters

hubId
string
required

Unique identifier for the hub that generated by system. Example: 642634bde1428d414838c882

Body

application/json
name
string
required

The name of hub. User can define hub name with hub's location, or something else. Example: Hub transit Jakarta

address
string
required

Location of the hub. Example: 'Neo Soho, Jakarta Barat'

lat
number<double>
required

Coordinate latitude of visit. Example: '-6.230815251666679'

lng
number<double>
required

Coordinate longitude of visit. Example: '106.75684387903198'

Response

Success

status
string

Status of response.

property
object

Detail of updated hub.

message
string

Message of API response.