Skip to main content
PUT
/
channels
/
{channel_id}
{
  "id": "<string>",
  "name": "<string>",
  "channel_type": "Public",
  "metadata": {},
  "is_archived": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

ユーザーがログインすると発行されるsession_idをBearerトークンとして指定します

Path Parameters

channel_id
string
required

編集対象チャンネルのID

Required string length: 1 - 100

Body

application/json
name
string
required

チャンネル名

Required string length: 1 - 200
channel_type
enum<string>
required

公開チャンネルか秘密チャンネルか

Available options:
Public,
Secret
metadata
object | null

任意の追加メタデータ

Response

チャンネルの編集完了

name
string
required

チャンネル名

Required string length: 1 - 200
channel_type
enum<string>
required

公開チャンネルか秘密チャンネルか

Available options:
Public,
Secret
is_archived
boolean
required

アーカイブ済みかどうか

created_at
string<date-time>
required

作成日時

updated_at
string<date-time>
required

更新日時

id
string

チャンネルID

Required string length: 1 - 100
metadata
object | null

任意の追加メタデータ