# Update Hub Information

Modify specific attributes of your Hub's database entry. This endpoint allows for the alteration of one or more fields, providing a flexible means to keep your Hub's information current and accurate.

## Update information in your Hub

<mark style="color:purple;">`PATCH`</mark> `https://v2.parcelroblox.com/hub`

Example of how you have to pass the body parameters:

<img src="/files/ZoZ0KBcKVt3lcn0pnZOa" alt="" data-size="original">

#### Headers

<table><thead><tr><th width="256">Name</th><th width="170">Type</th><th>Description</th></tr></thead><tbody><tr><td>Authorization<mark style="color:red;">*</mark></td><td>string</td><td>prod_DGzVhVsrqNJi4b0Chd9mMPUI9</td></tr><tr><td>Content-Type</td><td>string</td><td>application/json</td></tr></tbody></table>

#### Request Body

| Name                              | Type   | Description                 |
| --------------------------------- | ------ | --------------------------- |
| description                       | string | Hub description             |
| groups.roblox.id                  | string | Roblox Group ID             |
| game.musicID                      | string | Roblox In-game Music ID     |
| settings.staffrole\_id            | string | Discord Staff Role ID       |
| settings.log\_channel             | string | Discord Log Channel ID      |
| settings.purchase\_channel        | string | Discord Purchase Channel ID |
| misc.short\_description           | string | Short description           |
| misc.terms                        | string | Terms of Service            |
| webstore.appearance.store\_banner | string | Webstore Banner (URL)       |

{% tabs %}
{% tab title="200: OK " %}
If everything was able to process properly:

```javascript
{ "status": "200", "message": "OK", "data": object }
```

{% endtab %}

{% tab title="400: Bad Request " %}
If you did not follow the schema:

```javascript
{ "status": "400", "message": "Your payload did not pass the Schema validation.", "error": string, "data": {} }
```

{% endtab %}

{% tab title="401: Unauthorized " %}
If you provided an invalid authorization key:

```javascript
{ "status": "401", "message": "Invalid authorization key." }
```

If you did not provide an authorization key:

```javascript
{ "status": "401", "message": "No authorization key was provided." }
```

{% endtab %}

{% tab title="500: Internal Server Error " %}
If something was wrong on our end:

```javascript
{ "status": "500", "message": "Internal Server Error" }
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://v2-docs.parcelroblox.com/hub-endpoints/update-hub-information.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
