> For the complete documentation index, see [llms.txt](https://devcenter.unico.io/unico-people/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devcenter.unico.io/unico-people/unico-people-v1/apis/posicoes/delete-position.md).

# Delete position

Deleta uma posição.

<mark style="color:red;">`DELETE`</mark> \ <mark style="color:$primary;">**Url Produção:**</mark> `https://api.acessorh.com.br`\ <mark style="color:$primary;">**Url Homologação:**</mark> `https://api.rh.homolog.acesso.io`\ <mark style="color:$primary;">**Endpoint:**</mark>  `/v1/positions`

### **Headers**

| Key                                             | Type   | Description                                                    |
| ----------------------------------------------- | ------ | -------------------------------------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Token de acesso adquirido pela plataforma Identity *(bearer)*. |

### **Query Parameters**

| Key                                    | Type   | Description                                                                                                                  |
| -------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------- |
| uid<mark style="color:red;">\*</mark>  | string | UID da posição a ser deletada. [Consulte aqui](#list-positions).                                                             |
| unit<mark style="color:red;">\*</mark> | string | UID da filial de onde a posição será deletada. [Consulte aqui](/unico-people/unico-people-v1/apis/organizacao.md#get-units). |

### **Exemplo de requisição**

```json
curl --location --request DELETE 'https://api.acessorh.com.br/v1/positions?uid=uid%20do%20candidato&unit=uid%20da%20unidade' \
--header 'Authorization: Bearer token de autenticação'
```

### **Exemplo de response**

<pre class="language-json"><code class="lang-json"><strong>200 - OK
</strong>"ok"
</code></pre>
