# Delete Hub

## Delete a hub info

<mark style="color:red;">`DELETE`</mark> `/api/hubs/{hubId}`

**Access Permissions**

<table data-header-hidden><thead><tr><th width="348">Role<select><option value="2rSBGCjaXeFt" label="COMPANY" color="blue"></option><option value="ozSCTBKJPNgy" label="HUB_MANAGER" color="blue"></option><option value="Mfl8c1CRYAaD" label="MASTER" color="blue"></option><option value="bviBPLZFY8t3" label="SHIPPER" color="blue"></option></select></th><th>Description</th></tr></thead><tbody><tr><td><span data-option="Mfl8c1CRYAaD">MASTER</span></td><td>마스터</td></tr></tbody></table>

**PathVariables**

<table><thead><tr><th width="342">Name</th><th>Type</th></tr></thead><tbody><tr><td>hubId</td><td><code>Long</code></td></tr></tbody></table>

**Headers**

<table><thead><tr><th width="342">Name</th><th>Value</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/json</code></td></tr><tr><td>Authorization</td><td><code>Bearer &#x3C;token></code></td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "result": "Hub is Deleted"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
