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

# Transfer channel ownership

> Transfer the ownership of a channel to another user

## Overview

This method is responsible for transferring the ownership of a channel to another user, who must be an administrator of the channel.

***

## Attributes

### Header

<ParamField path="instanceId" type="string" required>
  Your instance ID. Available in the Z-API panel under **Instances**.
</ParamField>

<ParamField path="token" type="string" required>
  Your Z-API instance token.
</ParamField>

### Path

<ParamField path="newsletterId" type="string" required>
  Channel ID
</ParamField>

### Body

<ParamField body="phone" type="string" required>
  New owner's phone number
</ParamField>

<ParamField body="quitAdmin" type="boolean">
  Defines whether you will stop being an admin after the transfer
</ParamField>

***

## Request Body

```json theme={"theme":{"light":"github-light","dark":"poimandres"}}
{
  "phone": "5511999999999",
  "quitAdmin": true
}
```

***

## Response

### 200

<ResponseField name="value" type="boolean">
  `true` if successful, `false` if it failed
</ResponseField>

```json theme={"theme":{"light":"github-light","dark":"poimandres"}}
{
  "value": true
}
```

<Info>
  The channel ID must always contain the **@newsletter** suffix, as this is the standard used by WhatsApp.
</Info>

### 405

Make sure you are correctly sending the method specification, that is, verify that you sent POST or GET as specified at the beginning of this topic.

### 415

If you receive a 415 error, make sure to add the "Content-Type" header to your request, which in most cases is "application/json".
