# É possível alterar a timestamp de um tópico?

**URL:** <https://meta.discourse.org/t/possible-to-change-a-topics-timestamp/329509>\
**Category:** Product Support\
**Created:** [Outubro 5, 2024, 11:42pm UTC](https://meta.discourse.org/t/possible-to-change-a-topics-timestamp/329509 "2024-10-05T23:42:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)\
**Post date:** [Outubro 6, 2024, 3:19am UTC](https://meta.discourse.org/t/possible-to-change-a-topics-timestamp/329509/2 "2024-10-06T03:19:13Z")

</div>

> [@fbpbdmin](#):
>
> ```plaintext
> headers = {
> "Authorization": f"Apikey {api_key}",
> "User-Agent": api_username
> }
> 
> ```

Esses não são os cabeçalhos corretos:

 ![Esta imagem mostra uma tela de computador exibindo texto, especificamente uma lista de chaves de API e algumas solicitações de API com verbo HTTP e URL correspondentes. (Legenda por IA)](https://global.discourse-cdn.com/meta/original/4X/c/9/8/c98f7482b6c7d1518fb242731350653c549faca1.png)

> Assim que tiver sua Chave de API, você pode passá-la junto com seu Nome de Usuário da API como um cabeçalho HTTP como este:
> 
> ```bash
> curl -X GET "http://127.0.0.1:3000/admin/users/list/active.json" \
> -H "Api-Key: 714552c6148e1617aeab526d0606184b94a80ec048fc09894ff1a72b740c5f19" \
> -H "Api-Username: system"
> 
> ```
> 
> e é assim que as requisições POST ficarão:
> 
> ```bash
> curl -X POST "http://127.0.0.1:3000/categories" \
> -H "Content-Type: multipart/form-data;" \
> -H "Api-Key: 714552c6148e1617aeab526d0606184b94a80ec048fc09894ff1a72b740c5f19" \
> -H "Api-Username: system" \
> -F "name=89853c20-4409-e91a-a8ea-f6cdff96aaaa" \
> -F "color=49d9e9" \
> -F "text_color=f0fcfd"
> 
> ```

---

_[View the full topic](https://meta.discourse.org/t/possible-to-change-a-topics-timestamp/329509)._
