Returning.AI
Light Mode
update channel
DevelopingPUT
/channels/{id}Request
Path Params
id
string
required
Example:
66b1aa4a3ccd3b97df602e2c
Body Params application/json
object {0}
Example
{
"title": "Chit Chat"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta
object
required
success
boolean
required
message
string
required
devMessage
string
required
body
object
required
_id
string
required
title
string
required
permissions
array[string]
required
userId
string
required
serverId
string
required
channelType
string
required
createdAt
string
required
updatedAt
string
required
__v
integer
required
Example
{
"meta": {
"success": true,
"message": "Channel has been updated successfully",
"devMessage": "Channel has been updated successfully"
},
"body": {
"_id": "66a28249fe1c8797121428c8",
"title": "Report",
"permissions": [],
"userId": "1",
"serverId": "669b462658695ff095d431af",
"channelType": "open",
"createdAt": "2024-07-25T16:50:17.610Z",
"updatedAt": "2024-07-25T16:53:27.739Z",
"__v": 0
}
}
Last modified: 3 months ago