Up - API Reference - Home
Requires JWT.
Rename a channel.
POST /api/p/<project gid>/channels/update
Authorization: Bearer <JWT>
{
"channel": "650ebd0f-eab5-41d7-87c1-1dc5334af872",
"name": "Documentation Channel"
}
Note: channel
__all__
is not a "real" channel; it cannot be created, renamed, or moved; that includes trying to move other channels before__all__
.
Authorization: <JWT>
{
"success": true,
"result": {
"project": "<project gid>"
},
"data": {
"cc.projects": {
"<project gid>": {
…,
"options": {
"channels": {
"__all__": "[all records]",
"650ebd0f-eab5-41d7-87c1-1dc5334af872": "Documentation Channel"
},
…
},
…
}
}
}
}
project
the current project.
cc.projects
Project updated with renamed channel.
400
Bad request - missing parameters or wrong type or value
401
Unauthorized - missing or expired JWT
403
Forbidden - not a member of this project