Skip to content

Unsubscribe from channel

POST
/api/channels/{channelId}/unsubscribe
curl --request POST \
--url http://localhost:3001/api/channels/example/unsubscribe \
--header 'Authorization: <Authorization>'

Unsubscribe from a channel.

channelId
required
string

Channel ID

OK

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Not Found

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}