POST
/admin.conversations.renameRename a channel
Updates the name of a public or private channel. Supply channel_id and the new name in the form-encoded request body. The authenticated user must use a token with the administrative write scope.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringrequired
Authentication token with the `admin.conversations:write` scope.
Form-encoded channel renaming details.
channel_idstringrequired
The channel to rename.
namestringrequired
New name for the channel.
200Returns a successful response containing the `ok` flag after renaming the channel.
okbooleanrequired
defaultReturned when the channel cannot be renamed successfully; the response contains `ok: false` and an error value.
errorstringrequired
okbooleanrequired
Error handling
token must provide the admin.conversations:write scope. The request body must include both channel_id and name, and name must contain the new channel name.