# Update a topology source attachment

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

Shumoku Server API · 0.2.0 · Topology Sources

# Update a topology source attachment

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

```
PUT /api/topologies/{topologyId}/sources/{sourceId}
```

## Authentication

sessionCookie / bearerAuth

## Request body

`UpdateTopologySource` · application/json · required

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | Updated source | `TopologyDataSource` |
| `400` | The request did not match the API contract | `Error` |
| `404` | Resource not found | `Error` |
| `409` | Source already attached | `Error` |
| `500` | Operation failed | `Error` |

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