# Rename or remove an attachment on a discovered node

Canonical: https://docs.shumoku.dev/ja/server/0.3.0-beta.3/api/patchTopologiesByIdDiscoveryPolicy
Language: ja
Server documentation version: 0.3.0-beta.3
Product version: 0.3.0-beta.3
Channel: beta

このドキュメントはServerのプレリリース版を対象としています。

Shumoku Server API · 0.3.0-beta.3 · Discovery Policy

# Rename or remove an attachment on a discovered node

[OpenAPIソース](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.3.0-beta.3/apps/server/api/openapi.json)

APIの説明は英語のOpenAPI canonical sourceを表示しています。

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

## 認証

sessionCookie / bearerAuth

## リクエストボディ

`object` · application/json · 必須

## レスポンス

| ステータス | 説明 | スキーマ |
| --- | --- | --- |
| `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-beta.3/apps/server/api/openapi.json)
