PUT https://api.slive.app/channel/<channelId>/tools
Setze das Tool fest, welches du über das Overlay anzeigen lassen kannst.
Beim ändern lädt dein Overlay automatisch neu und zeigt deine Auswahl an.
Wenn du diesen Endpoint aufrufst, switchst du den Wert in unserer Datenbank. Achte daher darauf, welche Informationen du in der Response erhältst.
| Name | Type | Description |
|---|---|---|
| channelId* | String |
| Name | Type | Description |
|---|---|---|
| Authorization* | Bearer |
| Name | Type | Description |
|---|---|---|
| id* | String | ID des Tools |
{% tabs %} {% tab title="200: OK " %}
{
"id": "app.slive.tool.chat",
"selected_tools": [
"app.slive.tool.chat"
],
"added": true,
"removed": false
}{% endtab %}
{% tab title="401: Unauthorized " %}
{
"code": 401,
"message": "Authorization has failed - invalid Bearer token"
}{% endtab %}
{% tab title="404: Not Found " %}
{
"code": 404,
"message": "Tool not found"
}{% endtab %} {% endtabs %}