# Update a feed

Source: https://www.jawsdeploy.net/rest-api/feeds-update | Section: Feeds

Update an external feed's connection details.

`PUT /api/feed`

Updates a feed. The built-in `Jaws` feed is not editable.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `feedId` | body | string | yes | ID of the feed. |
| `name` | body | string | no | New name. |
| `type` | body | string | no | New feed type. |
| `location` | body | string | no | New URL. |
| `username` | body | string | no | New username. |
| `password` | body | string | no | New password / API key. |

## Errors

| Status | Meaning |
|---|---|
| 400 | Invalid `feedId`, attempt to switch a feed to type `Jaws`, or validation failure. |
| 401 | Missing or invalid Basic auth credentials, or the service account lacks the required role. |

Example request:

```
PUT /api/feed

{ "feedId": "feed_1", "password": "***" }
```

Example response:

```
{}
```

