Convert Channel to Team

Prev Next
Post
/api/v1/channels.convertToTeam

Convert a channel to a team. Permissions required: create-team, edit-room

Header parameters
X-Auth-Token
stringRequired

The authToken of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The userId of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
Body parameters
object
channelId
string Required

The channel's ID. Alternatively, enter the channelName parameter and provide the channel's name as the value.

Responses
200
401

OK

Collapse all
object
team
object
_id
string
name
string
type
integer
createdAt
string
createdBy
object
_updatedAt
string
roomId
string
success
boolean