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

# v1 para v2

> Se você tem usado os endpoints standard v1.1 POST lists/create, POST lists/destroy e POST. Referência para o nível standard da X API v2 sobre migração.

export const Button = ({href, children}) => {
  return <div className="not-prose">
    <a href={href}>
      <button className="x-btn">
        <span>{children}</span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

### Gerenciar Lists: Standard v1.1 comparado com X API v2

Se você tem usado os endpoints standard v1.1 [POST lists/create](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-create), [POST lists/destroy](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-destroy) e [POST lists/update](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/post-lists-update), o objetivo deste guia é ajudar você a entender as semelhanças e diferenças entre os endpoints de gerenciamento de List do standard v1.1 e da X API v2.

* **Semelhanças**
  * Autenticação
* **Diferenças**
  * URLs dos endpoints
  * Requisitos de App e Project
  * Métodos HTTP
  * Rate limits
  * Parâmetros da requisição

#### Semelhanças

**Autenticação**

Ambas as versões de endpoint suportam [OAuth 1.0a User Context](https://developer.x.com/content/developer-twitter/resources/fundamentals/authentication). Portanto, se você estava usando um dos endpoints de gerenciamento de Lists do standard v1.1, pode continuar usando o mesmo método de autenticação ao migrar para a versão X API v2.

#### Diferenças

**URLs dos endpoints**

* Endpoints do standard v1.1:
  * POST [https://api.x.com/1.1/lists/create.json](https://api.x.com/1.1/lists/create.json)
    (Cria uma List)
  * POST [https://api.x.com/1.1/lists/destroy.json](https://api.x.com/1.1/lists/destroy.json)
    (Exclui uma List)
  * POST [https://api.x.com/1.1/lists/update.json](https://api.x.com/1.1/lists/update.json)
    (Atualiza uma List)
* Endpoint da X API v2:
  * POST [https://api.x.com/2/lists](https://api.x.com/2/lists)
    (Cria uma List)

  * DELETE [https://api.x.com/2/lists/:id](https://api.x.com/2/lists/:id)
    (Exclui uma List)

  * PUT [https://api.x.com/2/lists/:id](https://api.x.com/2/lists/:id)
    (Atualiza uma List)

**Rate limits**

\| **Standard v1**
