---
title: "Remove Channel  Leader"
slug: "remove-channel-leader"
updated: 2026-06-08T12:46:40Z
published: 2026-06-08T12:46:40Z
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Channel  Leader

Post/api/v1/channels.removeLeader

Remove the `leader` role from a user in a channel.

Permission required: `set-leader` .

### Changelog

| Version | Description |
| --- | --- |
| 0.75.0 | Added |

Header parametersX-Auth-TokenstringRequired

The `authToken` of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-IdstringRequired

The `userId` of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ

Body parameters<select class='api-response-data' aria-label='Media type'><option value='311e861e-0c64-47e4-a834-b3a6205ab673'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='3d9788b9-a324-4589-bb0e-12d41157cb27'>Example</option>
</select>Example

```json
{
  "roomId": "ByehQjC44FwMeiLbX",
  "userId": "oCHkav5Zf6vmpu2W2"
}
```

object  roomIdstring    Required

The channel's id

userIdstring    Required

The user's id

Responses200

OK

<select class='api-response-data' aria-label='Media type'><option value='8f0223a3-e4e0-4cfc-bc5d-4dff81476b01'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='fc8405b0-87c4-411b-a21e-030cefd733ad'>Success</option>
</select>Success

```json
{
  "success": true
}
```

object  successboolean    

400

Bad Request

<select class='api-response-data' aria-label='Media type'><option value='ddd0f895-6980-4052-ae32-3486b6c6f0ad'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='d9368f3f-4ca8-4084-9313-111670ddd5eb'>User is not a leader</option>
</select>User is not a leader

```json
{
  "success": false,
  "error": "User is not a leader [error-user-not-leader]",
  "errorType": "error-user-not-leader"
}
```

object  successboolean    
errorstring    
errorTypestring    

401

Unauthorized

<select class='api-response-data' aria-label='Media type'><option value='6d958185-ff71-4066-9df2-a26a18a4bc06'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='a0a63e9b-8617-494f-94dd-f1f0ca5c94a1'>Authorization Error</option>
</select>Authorization Error

```json
{
  "status": "error",
  "message": "You must be logged in to do this."
}
```

object  statusstring    
messagestring
