---
title: "/v1/publicacoes/{idDocumento}/anexos"
method: DELETE
path: "/v1/publicacoes/{idDocumento}/anexos"
---

# /v1/publicacoes/{idDocumento}/anexos

`DELETE /v1/publicacoes/{idDocumento}/anexos`

## Request

- Base URL: `https://totvssign.staging.totvs.app/identityintegration`
- URL: `https://totvssign.staging.totvs.app/identityintegration/v1/publicacoes/{idDocumento}/anexos`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/docs/v1/publicacoes/:idDocumento/anexos/delete.ts> (a function with typed inputs; its response is checked against the schema)

endpoint utilizado para deletar todos os anexos de uma publicação

## Path parameters

- `idDocumento` integer, required

## Response `200`

200

- object
  - `code` integer
  - `success` boolean
  - `data` unknown
  - `errors` unknown

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o.md) - [All operations](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/llms.txt) - [OpenAPI document](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/revisions/0f43855140b5?raw)
