# Rename or remove an attachment on a discovered node

Canonical: https://docs.shumoku.dev/en/server/0.3.0/api/patchTopologiesByIdDiscoveryPolicy
Language: en
Server documentation version: 0.3.0
Product version: 0.3.0
Channel: stable

Shumoku Server API · 0.3.0 · Discovery Policy

# Rename or remove an attachment on a discovered node

[OpenAPI source](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.3.0/apps/server/api/openapi.json)

```
PATCH /api/topologies/{id}/discovery-policy
```

## Authentication

sessionCookie / bearerAuth

## Request body

`object` · application/json · required

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | Node updated | `object` |
| `400` | The request did not match the API contract | `Error` |
| `404` | Topology or node not found | `Error` |
| `409` | The node cannot be safely updated | `Error` |
| `500` | Discovery policy operation failed | `Error` |

[`apps/server/api/openapi.json`](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.3.0/apps/server/api/openapi.json)
